Updated command for lockscreen
This commit is contained in:
@@ -311,7 +311,9 @@ binds {
|
|||||||
Mod+Shift+M { spawn "proton-mail"; }
|
Mod+Shift+M { spawn "proton-mail"; }
|
||||||
Mod+Shift+P { spawn "rofi-rbw"; }
|
Mod+Shift+P { spawn "rofi-rbw"; }
|
||||||
Mod+Shift+T { spawn "thunar"; }
|
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.
|
// 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`.
|
// Note: the entire command goes as a single argument. It's passed verbatim to `sh -c`.
|
||||||
|
|||||||
Reference in New Issue
Block a user