From f929370cf5f02872472d75eb127613769ae266e6 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Wed, 6 Sep 2023 09:47:44 +0400 Subject: config: Add volume button example --- resources/default-config.kdl | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- cgit