diff options
author | ben <benjaminfranzke@googlemail.com> | 2010-08-28 15:13:03 +0200 |
---|---|---|
committer | ben <benjaminfranzke@googlemail.com> | 2010-08-28 15:13:03 +0200 |
commit | 7a4efe45aac64230759e85eb00a3670222f870a6 (patch) | |
tree | ee5aa08ca1fd3e608c4397560a3d00bf32f0cf16 | |
parent | 01c3a96772a73f7ff2bedd46bd34a1da57a1960c (diff) | |
download | dotfiles-7a4efe45aac64230759e85eb00a3670222f870a6.tar.gz dotfiles-7a4efe45aac64230759e85eb00a3670222f870a6.tar.bz2 dotfiles-7a4efe45aac64230759e85eb00a3670222f870a6.zip |
openbox/rc: control alsa volume by XF86 keys
-rw-r--r-- | .config/openbox/rc.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.config/openbox/rc.xml b/.config/openbox/rc.xml index 2d1b79d..2633ed2 100644 --- a/.config/openbox/rc.xml +++ b/.config/openbox/rc.xml @@ -155,6 +155,21 @@ </dock> <keyboard> <chainQuitKey>C-g</chainQuitKey> + <keybind key="XF86AudioRaiseVolume"> + <action name="Execute"> + <execute>amixer sset PCM on 4%+</execute> + </action> + </keybind> + <keybind key="XF86AudioLowerVolume"> + <action name="Execute"> + <execute>amixer sset PCM 4%-</execute> + </action> + </keybind> + <keybind key="XF86AudioMute"> + <action name="Execute"> + <execute>amixer sset PCM toggle</execute> + </action> + </keybind> <!-- Keybindings for desktop switching --> <keybind key="C-A-Left"> <action name="DesktopLeft"> |