diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-01-20 09:47:35 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-01-20 09:47:35 -0500 |
| commit | 76545937e8067ca3bbb0ef3742d0568d75d2e5af (patch) | |
| tree | b4287740d60d214b276ddbc905321e5f73562e56 /home/apps/hyprlock.nix | |
| parent | update commits (diff) | |
| download | dotfiles-nix-76545937e8067ca3bbb0ef3742d0568d75d2e5af.tar.gz dotfiles-nix-76545937e8067ca3bbb0ef3742d0568d75d2e5af.tar.bz2 dotfiles-nix-76545937e8067ca3bbb0ef3742d0568d75d2e5af.zip | |
switch back to hyprlock, update style
Diffstat (limited to 'home/apps/hyprlock.nix')
| -rw-r--r-- | home/apps/hyprlock.nix | 40 |
1 files changed, 19 insertions, 21 deletions
diff --git a/home/apps/hyprlock.nix b/home/apps/hyprlock.nix index a0e5d84..237abb6 100644 --- a/home/apps/hyprlock.nix +++ b/home/apps/hyprlock.nix @@ -4,7 +4,6 @@ ... }: let text = "rgb(${config.theme.colors.text})"; - base = "rgb(${config.theme.colors.base})"; error = "rgb(${config.theme.colors.error})"; trans = "rgba(0,0,0,0)"; @@ -25,30 +24,29 @@ in { animations = { enabled = true; + bezier = [ + "linear, 1, 1, 1, 1" + ]; animation = [ - "fadeIn, 0" - "fadeOut, 0" + "fade, 1, 3, linear" ]; }; background = { path = config.theme.lockscreen; - color = base; - blur_passes = 0; - blur_size = 2; - noise = 0; - contrast = 0; - brightness = 0; - vibrancy = 0; + blur_passes = 2; + contrast = 0.9; + brightness = 0.8; + vibrancy = 0.2; vibrancy_darkness = 0.0; }; # Password Input input-field = { - size = "300, 50"; - outline_thickness = 0; - dots_size = 0.25; - dots_spacing = 0.55; + size = "250, 60"; + outline_thickness = 2; + dots_size = 0.2; + dots_spacing = 0.5; dots_center = true; dots_rounding = -1; outer_color = trans; @@ -81,21 +79,21 @@ in { { text = "cmd[update:1000] echo \"$(date +\"%A, %B %d\")\""; color = text; - font_size = 20; + font_size = 30; font_family = config.theme.font.header; - position = "0, -100"; + position = "0, -50"; halign = "center"; - valign = "top"; + valign = "center"; } # Clock { - text = "cmd[update:1000] echo \"$(date +\"%k:%M:%S\")\""; + text = "cmd[update:1000] echo \"$(date +\"%k:%M\")\""; color = text; - font_size = 90; + font_size = 130; font_family = config.theme.font.header; - position = "0, -130"; + position = "0, 130"; halign = "center"; - valign = "top"; + valign = "center"; } ]; }; |