Updated command for lockscreen

This commit is contained in:
Random936
2026-07-14 19:29:39 -04:00
parent 34b3f57709
commit 0a7ac1b1ca
+3 -1
View File
@@ -311,7 +311,9 @@ binds {
Mod+Shift+M { spawn "proton-mail"; }
Mod+Shift+P { spawn "rofi-rbw"; }
Mod+Shift+T { spawn "thunar"; }
Mod+Shift+X hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
Mod+Shift+X hotkey-overlay-title="Lock the Screen: swaylock" {
spawn "sh" "-c" "loginctl lock-session; swaylock -f; niri msg action power-off-monitors";
}
// Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
// Note: the entire command goes as a single argument. It's passed verbatim to `sh -c`.