From a7ea8624fde0e7e6e48ad235b302a05f1cae5c41 Mon Sep 17 00:00:00 2001 From: "SilverAg.L" Date: Thu, 4 Dec 2025 02:41:22 +0800 Subject: [PATCH] misc niri config update. --- .config/niri/config.kdl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/niri/config.kdl b/.config/niri/config.kdl index c3bfeb6..1a63827 100644 --- a/.config/niri/config.kdl +++ b/.config/niri/config.kdl @@ -41,7 +41,7 @@ input { } warp-mouse-to-focus - + disable-power-key-handling focus-follows-mouse max-scroll-amount="0%" } @@ -121,6 +121,7 @@ layout { hotkey-overlay { skip-at-startup + hide-not-bound } layer-rule { @@ -287,7 +288,7 @@ binds { // The allow-inhibiting=false property can be applied to other binds as well, // which ensures niri always processes them, even when an inhibitor is active. Mod+Alt+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; } - Mod+Shift+Escape hotkey-overlay-title="Exit niri" { quit; } + XF86PowerOff hotkey-overlay-title="Exit niri" { quit; } Super+Escape hotkey-overlay-title="Lock the Screen (gtklock)" { spawn "gtklock" "-d"; } Mod+Delete hotkey-overlay-title="Lock screen and Hibernate ..." allow-when-locked=true { spawn-sh "(pgrep gtklock || gtklock -d) && sleep 1 && systemctl hibernate";