From cea647d37a1ea10d9b2dc547d12b2732bcc3f4df Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 6 Jan 2025 17:47:23 +0100 Subject: feat(sway): Add custom keybindings for hmbx host Signed-off-by: David Runge --- .config/sway/config.d/hmbx-bindsym | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .config/sway/config.d/hmbx-bindsym (limited to '.config/sway/config.d') diff --git a/.config/sway/config.d/hmbx-bindsym b/.config/sway/config.d/hmbx-bindsym new file mode 100644 index 0000000..ae172c2 --- /dev/null +++ b/.config/sway/config.d/hmbx-bindsym @@ -0,0 +1,4 @@ +# volume (requires wireplumber) +bindsym --locked XF86AudioRaiseVolume exec "wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+" +bindsym --locked XF86AudioLowerVolume exec "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" +bindsym --locked XF86AudioMute exec "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" -- cgit v1.2.3-70-g09d2