From f044fa409cdb3f3401be8d14a37cb7c8e8f0fca5 Mon Sep 17 00:00:00 2001 From: s-prechtl Date: Wed, 2 Oct 2024 09:09:14 +0200 Subject: [PATCH] feat: hyprlock --- modules/home-manager/hyprland.nix | 2 +- modules/home-manager/hyprlock.nix | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/home-manager/hyprland.nix b/modules/home-manager/hyprland.nix index 2159e59..5f57ea7 100644 --- a/modules/home-manager/hyprland.nix +++ b/modules/home-manager/hyprland.nix @@ -21,7 +21,7 @@ "$mod, P,exec,wofi-pass -c" "$mod SHIFT,R,exec,hyprctl reload" "$mod,space,togglefloating," - "ALTSHIFT, L, exec, swaylock" + "ALTSHIFT, L, exec, hyprlock" "$mod,F,fullscreen" "ALTSHIFT,K,exec,amixer set 'Master' 5%+" "ALTSHIFT,J,exec,amixer set 'Master' 5%-" diff --git a/modules/home-manager/hyprlock.nix b/modules/home-manager/hyprlock.nix index 13fb799..fa7130d 100644 --- a/modules/home-manager/hyprlock.nix +++ b/modules/home-manager/hyprlock.nix @@ -4,7 +4,7 @@ settings = { general = { disable_loading_bar = true; - grace = 300; + grace = 0; hide_cursor = true; no_fade_in = false; }; @@ -24,9 +24,10 @@ monitor = ""; dots_center = true; fade_on_empty = false; - font_color = "rgb(202, 211, 245)"; - inner_color = "rgb(91, 96, 120)"; - outer_color = "rgb(24, 25, 38)"; + font_color = "rgb(235, 219, 178)"; + inner_color = "rgb(40, 40, 40)"; + outer_color = "rgb(235, 219, 178)"; + check_color = "rgb(191, 97, 106)"; outline_thickness = 5; placeholder_text = "Password..."; shadow_passes = 2;