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
1 changed files with 10 additions and 0 deletions

View File

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