openbox: sound key mapping for keyboard without media

This commit is contained in:
Mathieu Maret 2017-08-21 13:39:41 +02:00
parent ce4da78883
commit 01da65f526

View File

@ -334,6 +334,16 @@
</action> </action>
</keybind> </keybind>
<!-- 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="S-KP_Add">
<action name="Execute">
<execute>amixer -D pulse set Master 5%+ unmute</execute>
</action>
</keybind>
<keybind key="S-KP_Subtract">
<action name="Execute">
<execute>amixer -D pulse set Master 5%- unmute</execute>
</action>
</keybind>
<keybind key="XF86AudioRaiseVolume"> <keybind key="XF86AudioRaiseVolume">
<action name="Execute"> <action name="Execute">
<execute>amixer -D pulse set Master 5%+ unmute</execute> <execute>amixer -D pulse set Master 5%+ unmute</execute>