From a62d945c0e7730c6db3aae37939aeb4f29ca0215 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 4 May 2024 22:01:37 -0400 Subject: [PATCH] sway/hyprland: lock with Control+Super+L --- homeManagerModules/desktop/hypr/default.nix | 2 +- homeManagerModules/desktop/sway/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/homeManagerModules/desktop/hypr/default.nix b/homeManagerModules/desktop/hypr/default.nix index db8cc1a6..95d93782 100644 --- a/homeManagerModules/desktop/hypr/default.nix +++ b/homeManagerModules/desktop/hypr/default.nix @@ -291,7 +291,7 @@ # Manage session. bind = ${modifier}, C, killactive, - bind = ${modifier}, L, exec, ${lock} + bind = ${modifier} CONTROL, L, exec, ${lock} bind = ${modifier}, M, exec, ${logout} # Basic window management. diff --git a/homeManagerModules/desktop/sway/default.nix b/homeManagerModules/desktop/sway/default.nix index 15674e3f..63b55775 100644 --- a/homeManagerModules/desktop/sway/default.nix +++ b/homeManagerModules/desktop/sway/default.nix @@ -196,7 +196,7 @@ # Manage session. "${modifier}+C" = "kill"; - "${modifier}+Q" = "exec ${lock}"; + "${modifier}+Control+L" = "exec ${lock}"; "${modifier}+M" = "exec ${logout}"; # Basic window management.