Autocommit of file /home/julien/.dotfiles/openbox/rc.xml changed on host ares
authorJulien Valroff <julien@kirya.net>
Sun, 22 Jan 2012 17:34:12 +0000 (18:34 +0100)
committerJulien Valroff <julien@kirya.net>
Sun, 22 Jan 2012 17:34:12 +0000 (18:34 +0100)
rc.xml

diff --git a/rc.xml b/rc.xml
index b3b7638..f764eb3 100644 (file)
--- a/rc.xml
+++ b/rc.xml
     <keybind key="XF86AudioPlay"><action name="Execute"><command>exaile -\-play-pause</command></action></keybind>
     <keybind key="XF86AudioNext"><action name="Execute"><command>exaile -\-next</command></action></keybind>
     <keybind key="XF86AudioPrevious"><action name="Execute"><command>exaile -\-prev</command></action></keybind>
-    <keybind key="XF86AudioRaiseVolume"><action name="Execute"><command>pacmd dump|awk -\-non-decimal-data '$1~/set-sink-volume/{system ("pacmd "$1" "$2" "$3+5000)}'</command></action></keybind>
-    <keybind key="XF86AudioLowerVolume"><action name="Execute"><command>pacmd dump|awk -\-non-decimal-data '$1~/set-sink-volume/{system ("pacmd "$1" "$2" "$3-5000)}'</command></action></keybind>
-    <keybind key="XF86AudioMute"><action name="Execute"><command>pacmd dump|awk -\-non-decimal-data '$1~/set-sink-mute/{system ("pacmd "$1" "$2" "($3=="yes"?"no":"yes"))}'</command></action></keybind>
+    <keybind key="XF86AudioRaiseVolume"><action name="Execute"><command>amixer -D pulse set Master 5%+ unmute</command></action></keybind>
+    <keybind key="XF86AudioLowerVolume"><action name="Execute"><command>amixer -D pulse set Master 5%- unmute</command></action></keybind>
+    <keybind key="XF86AudioMute"><action name="Execute"><command>amixer set Master toggle</command></action></keybind>
     <keybind key="XF86Calculator"><action name="Execute"><command>gcalctool</command></action></keybind>
     <keybind key="XF86WebCam"><action name="Execute"><command>cheese</command></action></keybind>
     <keybind key="XF86TouchpadToggle"><action name="Execute"><command>toggle-touchpad</command></action></keybind>