summaryrefslogtreecommitdiffstats
path: root/.config/niri
diff options
context:
space:
mode:
authorPavel Egorov <[email protected]>2025-12-09 02:39:15 +0300
committerPavel Egorov <[email protected]>2025-12-09 02:54:48 +0300
commitb48c6a6e4d103bc30b16ff2b0a3ccfcc019dcdf6 (patch)
treef4298f042c60213187cb5f6775fd01215d208e81 /.config/niri
parent95e084fc21006b33155c8a28cbd7f49c02af4192 (diff)
downloaddotfiles-b48c6a6e4d103bc30b16ff2b0a3ccfcc019dcdf6.tar.gz
dotfiles-b48c6a6e4d103bc30b16ff2b0a3ccfcc019dcdf6.zip
[niri] Tweak key bindings
Diffstat (limited to '.config/niri')
-rw-r--r--.config/niri/binds.kdl9
1 files changed, 4 insertions, 5 deletions
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 {
15 15
16 // Suggested binds for running programs: terminal, app launcher, screen locker. 16 // Suggested binds for running programs: terminal, app launcher, screen locker.
17 Mod+T hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; } 17 Mod+T hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; }
18 Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } 18 Alt+Space hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; }
19 Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } 19 Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
20 20
21 // Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc. 21 // Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
@@ -27,8 +27,8 @@ binds {
27 // The allow-when-locked=true property makes them work even when the session is locked. 27 // The allow-when-locked=true property makes them work even when the session is locked.
28 // Using spawn-sh allows to pass multiple arguments together with the command. 28 // Using spawn-sh allows to pass multiple arguments together with the command.
29 // "-l 1.0" limits the volume to 100%. 29 // "-l 1.0" limits the volume to 100%.
30 XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1+ -l 1.0"; } 30 XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05+ -l 1.0"; }
31 XF86AudioLowerVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1-"; } 31 XF86AudioLowerVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05-"; }
32 XF86AudioMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; } 32 XF86AudioMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; }
33 XF86AudioMicMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"; } 33 XF86AudioMicMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"; }
34 34
@@ -50,7 +50,7 @@ binds {
50 // or do a four-finger swipe up on a touchpad. 50 // or do a four-finger swipe up on a touchpad.
51 Mod+O repeat=false { toggle-overview; } 51 Mod+O repeat=false { toggle-overview; }
52 52
53 Mod+Q repeat=false { close-window; } 53 Mod+D repeat=false { close-window; }
54 54
55 Mod+Left { focus-column-left; } 55 Mod+Left { focus-column-left; }
56 Mod+Down { focus-window-down; } 56 Mod+Down { focus-window-down; }
@@ -266,7 +266,6 @@ binds {
266 Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; } 266 Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
267 267
268 // The quit action will show a confirmation dialog to avoid accidental exits. 268 // The quit action will show a confirmation dialog to avoid accidental exits.
269 Mod+Shift+E { quit; }
270 Ctrl+Alt+Delete { quit; } 269 Ctrl+Alt+Delete { quit; }
271 270
272 // Powers off the monitors. To turn them back on, do any input like 271 // Powers off the monitors. To turn them back on, do any input like