diff --git a/home/config/nil/desktop.nix b/home/config/nil/desktop.nix index 73445b6..b7082aa 100644 --- a/home/config/nil/desktop.nix +++ b/home/config/nil/desktop.nix @@ -219,6 +219,9 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) { "Mod+Shift+U".action = quit; "Mod+Shift+C".action = power-off-monitors; + # Session lock + "Mod+Escape".action = spawn [ loginctl "lock-session" ]; + # Multimedia keys XF86Explorer.action = spawn [ xdg-open "https:" ]; } // lib.mapAttrs (n: v: v // { allow-when-locked = true; }) {