summaryrefslogtreecommitdiffstats
path: root/roles/hyprtheme/templates/theme
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-22 21:48:13 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-22 21:48:13 +0100
commit6e8e19aa82f7db3fbea5d60709969e19dc9b162a (patch)
treedfc7625692bdeda9a111053f423f52cb95e540f4 /roles/hyprtheme/templates/theme
parente845ccff69a4ffb8c3344578917fed00ad639ef4 (diff)
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
Diffstat (limited to 'roles/hyprtheme/templates/theme')
-rw-r--r--roles/hyprtheme/templates/theme/hyprland.conf.j22
-rw-r--r--roles/hyprtheme/templates/theme/hyprlock.conf.j22
2 files changed, 2 insertions, 2 deletions
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)