From e0003effa1f1f9c07ed29a09f6b8b6f99c819882 Mon Sep 17 00:00:00 2001 From: Nico Date: Sun, 15 Feb 2026 18:25:51 +1100 Subject: [PATCH] hyprlock: update style --- stow/.config/matugen/templates/hyprlock.conf | 156 +++++++------------ 1 file changed, 56 insertions(+), 100 deletions(-) diff --git a/stow/.config/matugen/templates/hyprlock.conf b/stow/.config/matugen/templates/hyprlock.conf index e71b854..8a17366 100644 --- a/stow/.config/matugen/templates/hyprlock.conf +++ b/stow/.config/matugen/templates/hyprlock.conf @@ -1,115 +1,71 @@ general { - hide_cursor = true - grace = 5 - ignore_empty_input = true - enable_fingerprint = true - fractional_scaling = 2 + grace = 7 } background { - path = {{image}} - blur_passes = 3 - blur_size 15 - noise = 0.1 + monitor = + path = {{image}} + color = {{colors.primary.default.rgba}} + blur_passes = 1 # 0 disables blurring + blur_size = 3 +# contrast = 0.8916 +# brightness = 0.8172 } -# -# Login -# +label { + monitor = + text = cmd[update:10000] date '+%I' + font_family = {{font}} + font_size = 256 + color = {{colors.primary.default.rgba}} + + position = 0, 256 + halign = center + valign = center +} + +label { + monitor = + text = cmd[update:10000] date '+%M' + font_family = {{font}} + font_size = 256 + color = {{colors.secondary.default.rgba}} + + position = 0, 0 + halign = center + valign = center +} + +shape { + size = 500, 700 + position = 0, 100 + rounding = 50 + color = {{colors.background.default.rgba}} + halign = center + valign = center +} input-field { monitor = - size = 20%, 5% + font_family = Comic Neue + size = 100, 100 outline_thickness = 3 + dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 + dots_rounding = 0; + dots_center = true + + outer_color = {{colors.primary_container.default.rgba}} inner_color = {{colors.background.default.rgba}} + font_color = {{colors.on_primary_container.default.rgba}} + fail_color = {{colors.error.default.rgba}} - check_color = {{colors.secondary_container.default.rgba}} - fail_color = {{colors.error_container.default.rgba}} - - font_color = {{colors.primary.default.rgba}} - font_family = {{ font }} - placeholder_text = Enter password - size = 48 fade_on_empty = false - rounding = {{ rounding }} + placeholder_text = 🔒 + hide_input = false + rounding = -1 + position = 0, 100 halign = center - valign = center - position = 0, 0 -} - -label { - font_family = {{ font }} - color = {{colors.primary.default.rgba}} - font_size = 24 - text =  Hello - - valign = center - halign = center - position = -6%, 5% -} - -shape { - color = {{colors.background.default.rgba}} - rounding = {{ rounding }} - - monitor = - size = 150, 60 - position = -6%, 5% - halign = center - valign = center -} - -# -# Sidebar -# - -label { - color = {{colors.primary.default.rgba}} - font_family = {{ font }} - font_size = 17 - rotate = 270 - text = cmd[update:60]echo 󰎇 $(head -c 30 <<< $(playerctl metadata title)) - - monitor = - size = 20, 40 - position = -23, -20 - halign = right - valign = top -} - -shape { - color = {{colors.background.default.rgba}} - rounding = {{ rounding }} - - monitor = - size = 50, 410 - position = -10, -5 - halign = right - valign = top -} - -# Clock -label { - color = {{colors.primary.default.rgba}} - font_family = {{ font }} - font_size = 17 - text = cmd[update:60]echo -e " \n$(date '+%I\n%M')" - - monitor = - size = 20, 40 - position = -23, 20 - halign = right - valign = bottom -} - -shape { - color = {{colors.background.default.rgba}} - rounding = {{ rounding }} - - monitor = - size = 50, 110 - position = -10, 5 - halign = right - valign = bottom -} + valign = bottom +}