home: Add binding to quit niri

This commit is contained in:
Mikael 2024-08-25 21:20:49 +02:00
parent a5015e1c98
commit f435fc5e63
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -126,6 +126,8 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) {
"Mod+Ctrl+Print".action = screenshot-window; "Mod+Ctrl+Print".action = screenshot-window;
"Mod+Shift+Print".action = screenshot-screen; "Mod+Shift+Print".action = screenshot-screen;
"Mod+Shift+u".action = quit;
XF86Explorer.action = spawn [ xdg-open "https:" ]; XF86Explorer.action = spawn [ xdg-open "https:" ];
} // lib.mapAttrs (n: v: v // { allow-when-locked = true; }) { } // lib.mapAttrs (n: v: v // { allow-when-locked = true; }) {
XF86MonBrightnessUp.action = spawn [ brightnessctl "-e" "set" "+5%" ]; XF86MonBrightnessUp.action = spawn [ brightnessctl "-e" "set" "+5%" ];