[openbox] Volume control with pulse audio
This commit is contained in:
parent
2842e79a10
commit
53f5619ac5
@ -327,12 +327,17 @@
|
|||||||
<!-- Find the sound card id by looking into /proc/asound/cards and pass it by using the -c option-->
|
<!-- Find the sound card id by looking into /proc/asound/cards and pass it by using the -c option-->
|
||||||
<keybind key="XF86AudioRaiseVolume">
|
<keybind key="XF86AudioRaiseVolume">
|
||||||
<action name="Execute">
|
<action name="Execute">
|
||||||
<execute>amixer -c0 set Master 5+ unmute</execute>
|
<execute>amixer -D pulse set Master 5%+ unmute</execute>
|
||||||
</action>
|
</action>
|
||||||
</keybind>
|
</keybind>
|
||||||
<keybind key="XF86AudioLowerVolume">
|
<keybind key="XF86AudioLowerVolume">
|
||||||
<action name="Execute">
|
<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>
|
</action>
|
||||||
</keybind>
|
</keybind>
|
||||||
<keybind key="C-A-l">
|
<keybind key="C-A-l">
|
||||||
|
Loading…
Reference in New Issue
Block a user