From b48c6a6e4d103bc30b16ff2b0a3ccfcc019dcdf6 Mon Sep 17 00:00:00 2001 From: Pavel Egorov Date: Tue, 9 Dec 2025 02:39:15 +0300 Subject: [niri] Tweak key bindings --- .config/niri/binds.kdl | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to '.config/niri') diff --git a/.config/niri/binds.kdl b/.config/niri/binds.kdl index 4a641e6..8bc755d 100644 --- a/.config/niri/binds.kdl +++ b/.config/niri/binds.kdl @@ -15,7 +15,7 @@ binds { // Suggested binds for running programs: terminal, app launcher, screen locker. Mod+T hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; } - Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } + Alt+Space hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } // Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc. @@ -27,8 +27,8 @@ binds { // The allow-when-locked=true property makes them work even when the session is locked. // Using spawn-sh allows to pass multiple arguments together with the command. // "-l 1.0" limits the volume to 100%. - XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1+ -l 1.0"; } - XF86AudioLowerVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1-"; } + XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05+ -l 1.0"; } + XF86AudioLowerVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05-"; } XF86AudioMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; } XF86AudioMicMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"; } @@ -50,7 +50,7 @@ binds { // or do a four-finger swipe up on a touchpad. Mod+O repeat=false { toggle-overview; } - Mod+Q repeat=false { close-window; } + Mod+D repeat=false { close-window; } Mod+Left { focus-column-left; } Mod+Down { focus-window-down; } @@ -266,7 +266,6 @@ binds { Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; } // The quit action will show a confirmation dialog to avoid accidental exits. - Mod+Shift+E { quit; } Ctrl+Alt+Delete { quit; } // Powers off the monitors. To turn them back on, do any input like -- cgit v1.3