home: Add niri binding to lock session
This commit is contained in:
parent
bfd689523a
commit
cc98659942
1 changed files with 3 additions and 0 deletions
|
@ -219,6 +219,9 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) {
|
||||||
"Mod+Shift+U".action = quit;
|
"Mod+Shift+U".action = quit;
|
||||||
"Mod+Shift+C".action = power-off-monitors;
|
"Mod+Shift+C".action = power-off-monitors;
|
||||||
|
|
||||||
|
# Session lock
|
||||||
|
"Mod+Escape".action = spawn [ loginctl "lock-session" ];
|
||||||
|
|
||||||
# Multimedia keys
|
# Multimedia keys
|
||||||
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; }) {
|
||||||
|
|
Loading…
Reference in a new issue