[openbox] Volume control with pulse audio

This commit is contained in:
Mathieu Maret 2016-11-02 13:59:41 +01:00
parent 2842e79a10
commit 53f5619ac5

View File

@ -327,12 +327,17 @@
<!-- Find the sound card id by looking into /proc/asound/cards and pass it by using the -c option-->
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<execute>amixer -c0 set Master 5+ unmute</execute>
<execute>amixer -D pulse set Master 5%+ unmute</execute>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<execute>amixer -c0 set Master 5- unmute</execute>
<execute>amixer -D pulse set Master 5%- unmute</execute>
</action>
</keybind>
<keybind key="XF86AudioMute">
<action name="Execute">
<command>amixer -D pulse set Master toggle</command>
</action>
</keybind>
<keybind key="C-A-l">