From 25ba07af509cefc0ee6ac42db5d6dd0e62907de6 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Tue, 22 Feb 2022 10:31:41 +0100 Subject: [PATCH] fix font configs --- group_vars/all.yml | 7 +++++-- roles/dav/tasks/main.yml | 1 + roles/sway/templates/config.j2 | 2 +- roles/waybar/templates/style.j2 | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/group_vars/all.yml b/group_vars/all.yml index 237bace..8cb9658 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -1,7 +1,10 @@ --- -font: '"jetbrains mono"' +font: 'jetbrains mono' font_size: 10 -font_icon: '"FontAwesome5FreeRegular", "FontAwesome5FreeSolid", "FontAwesome5Brands"' +font_icon: + - 'FontAwesome5FreeRegular' + - 'FontAwesome5FreeSolid' + - 'FontAwesome5Brands' gtk_theme: Adwaita-dark icon_theme: Papirus-Dark git_name: eoli3n diff --git a/roles/dav/tasks/main.yml b/roles/dav/tasks/main.yml index 468eaa2..2080d3f 100644 --- a/roles/dav/tasks/main.yml +++ b/roles/dav/tasks/main.yml @@ -27,3 +27,4 @@ - name: vdirsyncer init shell: yes | vdirsyncer discover + ignore_errors: yes diff --git a/roles/sway/templates/config.j2 b/roles/sway/templates/config.j2 index 4b525b0..7521e81 100644 --- a/roles/sway/templates/config.j2 +++ b/roles/sway/templates/config.j2 @@ -15,7 +15,7 @@ input type:touchpad click_method clickfinger set $mod Mod4 # fonts -font pango: {{ font }}, {{ font_icon }} 10 +font pango: "{{ font }}"{% for i in font_icon %}, "{{ i }}"{% endfor %} 10 # gaps default_border none diff --git a/roles/waybar/templates/style.j2 b/roles/waybar/templates/style.j2 index 2df4b66..bac2977 100644 --- a/roles/waybar/templates/style.j2 +++ b/roles/waybar/templates/style.j2 @@ -17,7 +17,7 @@ * { border: none; border-radius: 0; - font-family: {{ font }}, {{ font_icon }}; + font-family: "{{ font }}"{% for i in font_icon %}, "{{ i }}"{% endfor %}; font-size: 12px; box-shadow: none; text-shadow: none;