niri: use scrot for screenshots and remove lid-close handler

This commit is contained in:
Joakim Repomaa
2026-03-14 21:34:03 +02:00
parent 7cf3a3dd60
commit 76ec6ac8c2

View File

@@ -610,9 +610,7 @@ binds {
// Mod+Space { switch-layout "next"; }
// Mod+Shift+Space { switch-layout "prev"; }
Print { screenshot; }
Ctrl+Print { screenshot-screen; }
Alt+Print { screenshot-window; }
Print { spawn "scrot"; }
// Applications such as remote-desktop clients and software KVM switches may
// request that niri stops processing the keyboard shortcuts defined here
@@ -633,9 +631,3 @@ binds {
Mod+Shift+P { power-off-monitors; }
}
switch-events {
lid-close {
spawn "handle-lid-close";
}
}