diff options
author | Richard Braun <rbraun@sceen.net> | 2019-07-11 22:41:42 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2019-07-11 22:42:09 +0200 |
commit | 52c7182300beac3b091cdd5a202520d9a5eb9eda (patch) | |
tree | 4d67071130bf8d0bdd3c5f5009282c9b0796e6ed | |
parent | bdb010a52613d5ca1093490307af4ee0c35b058d (diff) |
openbox: fix volume keybinds to affect default pulseaudio sink
-rw-r--r-- | openbox/rc.xml | 6 |
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"> |