diff --git a/home/ooks/opt/desktop/hyprland/binds.nix b/home/ooks/opt/desktop/hyprland/binds.nix index 4c9e5f7..5de76fe 100644 --- a/home/ooks/opt/desktop/hyprland/binds.nix +++ b/home/ooks/opt/desktop/hyprland/binds.nix @@ -3,6 +3,7 @@ let light = "${pkgs.light}/bin/light"; notifysend = "${pkgs.libnotify}/bin/notify-send"; + swaylock = "${config.programs.swaylock.package}/bin/swaylock"; #pamixer = "${pkgs.pamixer}/bin/pamixer"; brightnessScript = pkgs.writeShellScriptBin "brightness" '' @@ -144,6 +145,9 @@ in "SUPERSHIFT, 8, movetoworkspace,8" "SUPERSHIFT, 9, movetoworkspace,9" "SUPERSHIFT, 0, movetoworkspace,10" + + # Lock Screen + "SUPER, Backspace, exec, ${swaylock}" ]; # ----- MOUSE KEYBINDS ----- # bindm = [ diff --git a/home/ooks/opt/desktop/standard/wayland/swaylock.nix b/home/ooks/opt/desktop/standard/wayland/swaylock.nix index 738bbfd..e964e5a 100644 --- a/home/ooks/opt/desktop/standard/wayland/swaylock.nix +++ b/home/ooks/opt/desktop/standard/wayland/swaylock.nix @@ -5,21 +5,9 @@ in { programs.swaylock = { enable = true; - package = pkgs.swaylock-effects; settings = { - effect-blur = "20x3"; - fade-in = 0.1; - - font = config.fontProfiles.regular.family; - font-size = 15; - - line-uses-inside = true; - disable-caps-lock-text = true; - indicator-caps-lock = true; - indicator-radius = 40; - indicator-idle-visible = true; - indicator-y-position = 1000; - + font = config.fontProfiles.monospace.family; + color = "#${colors.base01}"; ring-color = "#${colors.base02}"; inside-wrong-color = "#${colors.base08}"; ring-wrong-color = "#${colors.base08}"; @@ -40,4 +28,4 @@ in separator-color = "#${colors.base02}"; }; }; -} +} \ No newline at end of file