From 1a220f1578ce0e18cffff97ae8ba68d6a4dfea4d Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Sat, 8 Jul 2023 04:56:15 +0900 Subject: flavours: control font setting centrally MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- .../templates/sway/templates/hibiki.mustache | 24 +++++++++++----------- .../templates/sway/templates/hibiki.mustache.in | 18 ++++++++++++++++ 2 files changed, 30 insertions(+), 12 deletions(-) create mode 100644 .config/flavours/templates/sway/templates/hibiki.mustache.in (limited to '.config/flavours/templates/sway') diff --git a/.config/flavours/templates/sway/templates/hibiki.mustache b/.config/flavours/templates/sway/templates/hibiki.mustache index 4b14a4b..02291b3 100644 --- a/.config/flavours/templates/sway/templates/hibiki.mustache +++ b/.config/flavours/templates/sway/templates/hibiki.mustache @@ -1,18 +1,18 @@ +# vim: ft=swayconfig -set $text #{{base07-hex}} -set $text2 #{{base05-hex}} -set $bg #{{base03-hex}} +font pango:Iosevka Etoile 9 + +set $text #{{base0F-hex}} +set $text2 #{{base07-hex}} +set $bg #{{base08-hex}} set $bg2 #{{base05-hex}} set $main #{{base06-hex}} set $main2 #{{base0E-hex}} set $urgent #{{base09-hex}} -set $urgent2 #{{base08-hex}} -set $indicator_focused #{{base0A-hex}} -set $indicator_unfocused $bg +set $urgent2 #{{base01-hex}} +set $indicator $text2 -client.focused $main $main $text $indicator_focused $main -#client.focused_inactive $bg $bg $text2 $indicator_unfocused $bg -client.focused_inactive $main2 $main2 $text2 $indicator_unfocused $main2 -client.unfocused $bg $bg $text2 $indicator_unfocused $bg -#client.unfocused $main2 $main2 $text2 $indicator_unfocused $main2 -client.urgent $urgent2 $urgent $text $indicator_focused $urgent +client.focused $main $main $text $indicator $main +client.focused_inactive $bg $bg $text2 $bg $bg +client.unfocused $bg $bg $text2 $bg $bg +client.urgent $urgent2 $urgent $text $urgent2 $urgent diff --git a/.config/flavours/templates/sway/templates/hibiki.mustache.in b/.config/flavours/templates/sway/templates/hibiki.mustache.in new file mode 100644 index 0000000..53c246b --- /dev/null +++ b/.config/flavours/templates/sway/templates/hibiki.mustache.in @@ -0,0 +1,18 @@ +# vim: ft=swayconfig + +font pango:@uifont@ 9 + +set $text #{{base0F-hex}} +set $text2 #{{base07-hex}} +set $bg #{{base08-hex}} +set $bg2 #{{base05-hex}} +set $main #{{base06-hex}} +set $main2 #{{base0E-hex}} +set $urgent #{{base09-hex}} +set $urgent2 #{{base01-hex}} +set $indicator $text2 + +client.focused $main $main $text $indicator $main +client.focused_inactive $bg $bg $text2 $bg $bg +client.unfocused $bg $bg $text2 $bg $bg +client.urgent $urgent2 $urgent $text $urgent2 $urgent -- cgit 1.4.1