aboutsummaryrefslogtreecommitdiffstats
path: root/templates/hyprlock
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-19 16:42:07 +0200
committerDanilo M. <danix@danix.xyz>2026-09-19 16:42:07 +0200
commita25905dfaeceff258b482007e8b6eb9f9a6d7063 (patch)
tree0cd17519482c816a97e9a2e780fef1d3e0801942 /templates/hyprlock
parent63fd47668a66ff546e330d22b64b7ce6e184a404 (diff)
downloadunified-desktop-theme-a25905dfaeceff258b482007e8b6eb9f9a6d7063.tar.gz
unified-desktop-theme-a25905dfaeceff258b482007e8b6eb9f9a6d7063.zip
feat: theme hyprlock from the UDT palette and accent
udt-palette renders the scheme-level palette to templates/hyprlock/hyprlock-palette.conf ($panel, $input_bg, $text, $subtext, $fail); udt-accent writes the wallpaper accent gradient to ~/.cache/udt/hyprlock-border.conf as a hyprlang variable. The hyprlock config sources both, so a scheme switch recolours the lock and a wallpaper change recolours its border. install.sh copies the palette and seeds the border from the committed fallback on a fresh cache. Both selftests cover the new outputs.
Diffstat (limited to 'templates/hyprlock')
-rw-r--r--templates/hyprlock/hyprlock-border.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/hyprlock/hyprlock-border.conf b/templates/hyprlock/hyprlock-border.conf
new file mode 100644
index 0000000..d1ee17e
--- /dev/null
+++ b/templates/hyprlock/hyprlock-border.conf
@@ -0,0 +1,6 @@
+# Fallback lock border, seeded by install.sh when the cache has no live copy.
+# udt-accent rewrites ~/.cache/udt/hyprlock-border.conf on every wallpaper
+# change. The lavender-centred triple is the same fallback sections/
+# look_and_feel.lua uses before the first wallpaper is processed, and lavender
+# is the desktop-wide fallback accent.
+$border = rgb(c6a0f6) rgb(b7bdf8) rgb(8aadf4) 45deg