summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2019-07-11 22:41:42 +0200
committerRichard Braun <rbraun@sceen.net>2019-07-11 22:42:09 +0200
commit52c7182300beac3b091cdd5a202520d9a5eb9eda (patch)
tree4d67071130bf8d0bdd3c5f5009282c9b0796e6ed
parentbdb010a52613d5ca1093490307af4ee0c35b058d (diff)
openbox: fix volume keybinds to affect default pulseaudio sink
-rw-r--r--openbox/rc.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/rc.xml b/openbox/rc.xml
index 41bcec4..14bf924 100644
--- a/openbox/rc.xml
+++ b/openbox/rc.xml
@@ -234,17 +234,17 @@
</keybind>
<keybind key="XF86AudioMute">
<action name="Execute">
- <command>pactl set-sink-mute 0 toggle</command>
+ <command>pactl set-sink-mute @DEFAULT_SINK@ toggle</command>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
- <command>pactl set-sink-volume 0 -5%</command>
+ <command>pactl set-sink-volume @DEFAULT_SINK@ -5%</command>
</action>
</keybind>
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
- <command>pactl set-sink-volume 0 +5%</command>
+ <command>pactl set-sink-volume @DEFAULT_SINK@ +5%</command>
</action>
</keybind>
<keybind key="XF86AudioPlay">