From 82ecace79be33d8a9d57116f5d59294501983044 Mon Sep 17 00:00:00 2001 From: Felix Schulze Date: Wed, 18 Jun 2025 14:33:03 +0200 Subject: [PATCH] wildfire: 183 current 2025-06-18 14:33:00 25.05.20250615.6c64dab 6.15.2 * hyprlock --- modules/home/hyprlock.nix | 127 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) diff --git a/modules/home/hyprlock.nix b/modules/home/hyprlock.nix index bf24202..feb79ae 100644 --- a/modules/home/hyprlock.nix +++ b/modules/home/hyprlock.nix @@ -10,6 +10,133 @@ vibrancy = 0.2; vibrancy_darkness = 0.2; }; + + # GENERAL + general = { + no_fade_in = true; + no_fade_out = true; + hide_cursor = false; + grace = 0; + disable_loading_bar = true; + }; + + # INPUT FIELD + input-field = { + monitor = ""; + size = "250, 60"; + outline_thickness = 2; + dots_size = 0.2; # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 0.35; # Scale of dots' absolute size, 0.0 - 1.0 + dots_center = true; + outer_color = "rgba(0, 0, 0, 0)"; + inner_color = "rgba(0, 0, 0, 0.2)"; + font_color = "$foreground"; + fade_on_empty = false; + rounding = -1; + check_color = "rgb(204, 136, 34)"; + placeholder_text = "Input Password..."; + hide_input = false; + position = "0, -200"; + halign = "center"; + valign = "center"; + }; + + # DATE + label = [ + { + monitor = ""; + text = "cmd[update:1000] echo \"$(date +\"%A, %B %d\")\""; + color = "rgba(242, 243, 244, 0.75)"; + font_size = 22; + font_family = "JetBrains Mono"; + position = "0, 300"; + halign = "center"; + valign = "center"; + } + + # TIME + { + monitor = ""; + text = "cmd[update:1000] echo \"$(date +\"%-I:%M\")\""; + color = "rgba(242, 243, 244, 0.75)"; + font_size = 95; + font_family = "JetBrains Mono Extrabold"; + position = "0, 200"; + halign = "center"; + valign = "center"; + } + + # CURRENT SONG + { + monitor = ""; + text = "cmd[update:1000] echo \"$(/home/justin/Documents/Scripts/whatsong.sh)\""; + color = "$foreground"; + font_size = 18; + font_family = "Metropolis Light, Font Awesome 6 Free Solid"; + position = "0, 50"; + halign = "center"; + valign = "bottom"; + } + + { + monitor = ""; + text = "cmd[update:1000] echo \"$(/home/justin/Documents/Scripts/whoami.sh)\""; + color = "$foreground"; + font_size = 14; + font_family = "JetBrains Mono"; + position = "0, -10"; + halign = "center"; + valign = "top"; + } + + { + monitor = ""; + text = "cmd[update:1000] echo \"$(/home/justin/Documents/Scripts/battery.sh)\""; + color = "$foreground"; + font_size = 24; + font_family = "JetBrains Mono"; + position = "-90, -10"; + halign = "right"; + valign = "top"; + } + + { + monitor = ""; + text = "cmd[update:1000] echo \"$(/home/justin/Documents/Scripts/network-status.sh)\""; + color = "$foreground"; + font_size = 24; + font_family = "JetBrains Mono"; + position = "-20, -10"; + halign = "right"; + valign = "top"; + } + ]; + + # Profile Picture + image = [ + { + monitor = ""; + path = "/home/justin/Pictures/profile_pictures/justin_square.png"; + size = 100; + border_size = 2; + border_color = "$foreground"; + position = "0, -100"; + halign = "center"; + valign = "center"; + } + + # Desktop Environment + { + monitor = ""; + path = "/home/justin/Pictures/profile_pictures/hypr.png"; + size = 75; + border_size = 2; + border_color = "$foreground"; + position = "-50, 50"; + halign = "right"; + valign = "bottom"; + } + ]; }; }; }