aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2023-09-06 09:47:44 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-09-06 09:47:44 +0400
commitf929370cf5f02872472d75eb127613769ae266e6 (patch)
tree727e49d70d56c06889884940137d62e02470440e /resources
parent18e29d002845f2df8dae7dd03e3688c427f7d303 (diff)
downloadniri-f929370cf5f02872472d75eb127613769ae266e6.tar.gz
niri-f929370cf5f02872472d75eb127613769ae266e6.tar.bz2
niri-f929370cf5f02872472d75eb127613769ae266e6.zip
config: Add volume button example
Diffstat (limited to 'resources')
-rw-r--r--resources/default-config.kdl4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl
index 00a73451..c3422d0e 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -33,6 +33,10 @@ binds {
Mod+T { spawn "alacritty"; }
Mod+Q { close-window; }
+ // Example volume keys mappings for PipeWire & WirePlumber.
+ /-XF86AudioRaiseVolume { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"; }
+ /-XF86AudioLowerVolume { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"; }
+
Mod+H { focus-column-left; }
Mod+J { focus-window-down; }
Mod+K { focus-window-up; }