aboutsummaryrefslogtreecommitdiffstats
path: root/.config/sway/config.d/hmbx-bindsym
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway/config.d/hmbx-bindsym')
-rw-r--r--.config/sway/config.d/hmbx-bindsym4
1 files changed, 4 insertions, 0 deletions
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"