diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2023-09-06 09:47:44 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2023-09-06 09:47:44 +0400 |
| commit | f929370cf5f02872472d75eb127613769ae266e6 (patch) | |
| tree | 727e49d70d56c06889884940137d62e02470440e /resources | |
| parent | 18e29d002845f2df8dae7dd03e3688c427f7d303 (diff) | |
| download | niri-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.kdl | 4 |
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; } |
