summaryrefslogtreecommitdiff
path: root/niri
diff options
context:
space:
mode:
authorryukamish <[email protected]>2026-05-02 23:20:39 +0530
committerryukamish <[email protected]>2026-05-02 23:20:39 +0530
commit49156df9a492d79ee7596d038d976e0796b30c4d (patch)
treec93460e521d5d484cbfef51284573032f9d211c9 /niri
parent8e4210d13689187fd0d03c6314420327f4b0cb5d (diff)
add: lockscreen with swaylock and turn off monitors
Diffstat (limited to 'niri')
-rw-r--r--niri/cfg/keybinds.kdl2
1 files changed, 1 insertions, 1 deletions
diff --git a/niri/cfg/keybinds.kdl b/niri/cfg/keybinds.kdl
index 49ba1a4..51b9ddf 100644
--- a/niri/cfg/keybinds.kdl
+++ b/niri/cfg/keybinds.kdl
@@ -13,7 +13,7 @@ binds {
Mod+Period hotkey-overlay-title="Toggle emoji selector" { spawn "rofimoji"; }
Mod+V { spawn-sh "cliphist list | rofi -dmenu | cliphist decode | wl-copy"; }
Mod+M { spawn "tauon"; }
- Mod+Alt+L { spawn-sh "swaylock"; }
+ Mod+Alt+L { spawn-sh "swaylock --daemonize && niri msg action power-off-monitors"; }
Mod+Ctrl+N { spawn-sh "kitty -e nvim"; }
Mod+I { spawn-sh "~/.local/bin/toggle-idle"; }