{ config, ... }: { programs.hyprlock = { enable = true; settings = { general = { hide_cursor = false; }; animations = { enabled = true; bezier = [ "linear, 1, 1, 0, 0" ]; animation = [ "fadeIn, 1, 5, linear" "fadeOut, 1, 5, linear" "inputFieldDots, 1, 2, linear" ]; }; background = [ { monitor = ""; path = "${config.home.homeDirectory}/.config/hypr/tokyonight.png"; blur_passes = 3; } ]; "input-field" = [ { monitor = ""; size = "20%, 5%"; outline_thickness = 3; inner_color = "rgba(26, 27, 38, 0.8)"; outer_color = "rgba(122, 162, 247, 0.9) rgba(187, 154, 247, 0.9) 45deg"; check_color = "rgba(158, 206, 106, 0.9) rgba(122, 162, 247, 0.9) 120deg"; fail_color = "rgba(247, 118, 142, 0.9) rgba(255, 158, 100, 0.9) 40deg"; font_color = "rgb(192, 202, 245)"; fade_on_empty = false; rounding = 15; font_family = "Monospace"; placeholder_text = "Input password..."; fail_text = "$PAMFAIL"; dots_spacing = 0.3; position = "0, -20"; halign = "center"; valign = "center"; } ]; label = [ # TIME { monitor = ""; text = "$TIME"; font_size = 90; font_family = "Monospace"; color = "rgb(192, 202, 245)"; position = "-30, 0"; halign = "right"; valign = "top"; } # DATE { monitor = ""; text = ''cmd[update:60000] date +"%A, %d %B %Y"''; font_size = 25; font_family = "Monospace"; color = "rgb(158, 206, 106)"; position = "-30, -150"; halign = "right"; valign = "top"; } # LAYOUT { monitor = ""; text = "$LAYOUT[en,ru]"; font_size = 24; color = "rgb(187, 154, 247)"; onclick = "hyprctl switchxkblayout all next"; position = "250, -20"; halign = "center"; valign = "center"; } ]; }; }; }