From 93ea8aa66253749e48c30d0d6dc41fcbe8a0c863 Mon Sep 17 00:00:00 2001 From: Aditya Date: Sun, 9 Mar 2025 11:35:43 +0530 Subject: [PATCH] add hyprlock --- modules/home-manager/utils/default.nix | 1 + modules/nixos/hyprland/config/hypr/hyprland/keybinds.conf | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/home-manager/utils/default.nix b/modules/home-manager/utils/default.nix index 88ade90..9261cf2 100644 --- a/modules/home-manager/utils/default.nix +++ b/modules/home-manager/utils/default.nix @@ -12,6 +12,7 @@ git git-lfs htop + hyprlock fastfetch kdePackages.filelight neofetch diff --git a/modules/nixos/hyprland/config/hypr/hyprland/keybinds.conf b/modules/nixos/hyprland/config/hypr/hyprland/keybinds.conf index 7c60a12..f51d870 100644 --- a/modules/nixos/hyprland/config/hypr/hyprland/keybinds.conf +++ b/modules/nixos/hyprland/config/hypr/hyprland/keybinds.conf @@ -89,7 +89,7 @@ bindm = $MainMod, mouse:272, movewindow # LMB bindm = $MainMod, mouse:273, resizeWindow # RMB ### Lock Screen ### -bind = $MainMod, L, exec, loginctl lock-session -bind = $MainMod+Shift, L, exec, sleep 0.1 && systemctl suspend +bind = $MainMod, L, exec, hyprlock +bind = $MainMod+Shift, L, exec, hyprlock && systemctl suspend