diff --git a/hosts/nixos-laptop/home-manager/hyprland-conf.nix b/hosts/nixos-laptop/home-manager/hyprland-conf.nix index c616af11..7e285ddd 100644 --- a/hosts/nixos-laptop/home-manager/hyprland-conf.nix +++ b/hosts/nixos-laptop/home-manager/hyprland-conf.nix @@ -161,7 +161,7 @@ bind = $mainMod SHIFT, left, movetoworkspace, e-1 # Lock the screen, send to swaylock - bind = $mainMod, L, exec, swaylock-fancy + bind = $mainMod, L, exec, swaylock # Lid closure: # trigger when the switch is toggled @@ -225,7 +225,7 @@ waybar & # Set up the idle management daemon - swayidle -w timeout 300 'swaylock-fancy -f -c 000000' timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' before-sleep 'swaylock-fancy -f -c 000000' + swayidle -w timeout 300 'swaylock -f -c 000000' timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' before-sleep 'swaylock -f -c 000000' mako ''; }; diff --git a/hosts/nixos-laptop/home-manager/swaylock-conf.nix b/hosts/nixos-laptop/home-manager/swaylock-conf.nix index 2f1091af..4a408912 100644 --- a/hosts/nixos-laptop/home-manager/swaylock-conf.nix +++ b/hosts/nixos-laptop/home-manager/swaylock-conf.nix @@ -5,8 +5,45 @@ color = "808080"; font-size = 24; show-failed-attempts = true; - effect-blur = "20x2"; + effect-blur = "40x4"; screenshots = true; + + indicator = true; + indicator-radius = "240"; + indicator-thickness = "20"; + indicator-caps-lock = true; + + key-hl-color = "880033"; + + separator-color = "00000000"; + + inside-color = "00000099"; + inside-clear-color = "ffd20400"; + inside-caps-lock-color = "009ddc00"; + inside-ver-color = "d9d8d800"; + inside-wrong-color = "ee2e2400"; + + ring-color = "231f20D9"; + ring-clear-color = "231f20D9"; + ring-caps-lock-color = "231f20D9"; + ring-ver-color = "231f20D9"; + ring-wrong-color = "231f20D9"; + + line-color = "00000000"; + line-clear-color = "ffd204FF"; + line-caps-lock-color = "009ddcFF"; + line-ver-color = "d9d8d8FF"; + line-wrong-color = "ee2e24FF"; + + text-clear-color = "ffd20400"; + text-ver-color = "d9d8d800"; + text-wrong-color = "ee2e2400"; + + bs-hl-color = "ee2e24FF"; + caps-lock-key-hl-color = "ffd204FF"; + caps-lock-bs-hl-color = "ee2e24FF"; + disable-caps-lock-text = true; + text-caps-lock-color = "009ddc"; }; }; } \ No newline at end of file