From 6e8e19aa82f7db3fbea5d60709969e19dc9b162a Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 22 Jan 2026 21:48:13 +0100 Subject: Fix font implicit gnome dependency This separate the setup of fonts from the setting of fonts The role setup the fonts to be used The other dependant roles configure which font from there to be used This is more complicated but cleaner separation between each role responsibilities --- roles/hyprtheme/templates/theme/hyprland.conf.j2 | 2 +- roles/hyprtheme/templates/theme/hyprlock.conf.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/hyprtheme/templates/theme') diff --git a/roles/hyprtheme/templates/theme/hyprland.conf.j2 b/roles/hyprtheme/templates/theme/hyprland.conf.j2 index 8b0eda90..7ffb05fd 100644 --- a/roles/hyprtheme/templates/theme/hyprland.conf.j2 +++ b/roles/hyprtheme/templates/theme/hyprland.conf.j2 @@ -1,3 +1,3 @@ -$font = {{ hyprtheme_default_font }} +$font = {{ hyprtheme_default_mono_font }} $active = rgb({{ accent[1:] }}) $inactive = rgb({{ color0[1:] }}) diff --git a/roles/hyprtheme/templates/theme/hyprlock.conf.j2 b/roles/hyprtheme/templates/theme/hyprlock.conf.j2 index 98a0beca..13130d0a 100644 --- a/roles/hyprtheme/templates/theme/hyprlock.conf.j2 +++ b/roles/hyprtheme/templates/theme/hyprlock.conf.j2 @@ -2,7 +2,7 @@ {{ hex[1:3] | int(base=16)}}, {{ hex[3:5] | int(base=16) }}, {{ hex[5:7] | int(base=16) }} {%- endmacro %} -$font = {{ hyprtheme_default_font }} +$font = {{ hyprtheme_default_mono_font }} $color = rgba({{ hex_to_rgb(background) }}, 1.0) $inner_color = rgba({{ hex_to_rgb(background) }}, 0.8) $outer_color = rgba({{ hex_to_rgb(accent) }}, 1.0) -- cgit v1.2.3