summaryrefslogtreecommitdiffstats
path: root/roles/hyprtheme/templates/theme/hyprlock.conf.j2
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-14 23:12:28 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-14 23:12:28 +0100
commit5bb4cb6d7138fcac012305b50f52ffd53f9bd2c2 (patch)
tree70a18261e4ed8e247293186348771582612b83d5 /roles/hyprtheme/templates/theme/hyprlock.conf.j2
parent7986ef492d2ea651730bc0d1324e39f3d56276e5 (diff)
Add hyprtheme (based on omarchy themes) role with 2 themes
Diffstat (limited to 'roles/hyprtheme/templates/theme/hyprlock.conf.j2')
-rw-r--r--roles/hyprtheme/templates/theme/hyprlock.conf.j210
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/hyprtheme/templates/theme/hyprlock.conf.j2 b/roles/hyprtheme/templates/theme/hyprlock.conf.j2
new file mode 100644
index 00000000..98a0beca
--- /dev/null
+++ b/roles/hyprtheme/templates/theme/hyprlock.conf.j2
@@ -0,0 +1,10 @@
+{% macro hex_to_rgb(hex) -%}
+{{ hex[1:3] | int(base=16)}}, {{ hex[3:5] | int(base=16) }}, {{ hex[5:7] | int(base=16) }}
+{%- endmacro %}
+
+$font = {{ hyprtheme_default_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)
+$font_color = rgba({{ hex_to_rgb(foreground) }}, 1.0)
+$check_color = rgba({{ hex_to_rgb(foreground) }}, 1.0)