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

diff --git a/rc.xml b/rc.xml
index 238b06f..ae65135 100644 (file)
--- a/rc.xml
+++ b/rc.xml
   </dock>
   <keyboard><chainQuitKey>C-g</chainQuitKey><!-- Keybindings for desktop switching --><keybind key="C-A-Left"><action name="DesktopLeft"><dialog>no</dialog><wrap>no</wrap></action></keybind><keybind key="C-A-Right"><action name="DesktopRight"><dialog>no</dialog><wrap>no</wrap></action></keybind><keybind key="C-A-Up"><action name="DesktopUp"><dialog>no</dialog><wrap>no</wrap></action></keybind><keybind key="C-A-Down"><action name="DesktopDown"><dialog>no</dialog><wrap>no</wrap></action></keybind><keybind key="S-A-Left"><action name="SendToDesktopLeft"><dialog>no</dialog><wrap>no</wrap></action></keybind><keybind key="S-A-Right"><action name="SendToDesktopRight"><dialog>no</dialog><wrap>no</wrap></action></keybind><keybind key="S-A-Up"><action name="SendToDesktopUp"><dialog>no</dialog><wrap>no</wrap></action></keybind><keybind key="S-A-Down"><action name="SendToDesktopDown"><dialog>no</dialog><wrap>no</wrap></action></keybind><keybind key="W-F1"><action name="Desktop"><desktop>1</desktop></action></keybind><keybind key="W-F2"><action name="Desktop"><desktop>2</desktop></action></keybind><keybind key="W-F3"><action name="Desktop"><desktop>3</desktop></action></keybind><keybind key="W-F4"><action name="Desktop"><desktop>4</desktop></action></keybind><keybind key="W-d"><action name="ToggleShowDesktop"/></keybind><!-- Keybindings for windows --><keybind key="A-F4"><action name="Close"/></keybind><keybind key="A-Escape"><action name="Lower"/><action name="FocusToBottom"/><action name="Unfocus"/></keybind><keybind key="A-space"><action name="ShowMenu"><menu>client-menu</menu></action></keybind><keybind key="A-F5"><action name="Iconify"/></keybind><keybind key="Print"><action name="Execute"><execute>xfce4-screenshooter -w -o eog</execute></action></keybind><keybind key="A-Print"><action name="Execute"><execute>xfce4-screenshooter -f -o eog</execute></action></keybind><!-- Keybindings for window switching --><keybind key="A-Tab"><action name="NextWindow"/></keybind><keybind key="A-S-Tab"><action name="PreviousWindow"/></keybind><keybind key="C-A-Tab"><action name="NextWindow"><allDesktops>yes</allDesktops></action></keybind><keybind key="C-A-S-Tab"><action name="PreviousWindow"><allDesktops>yes</allDesktops></action></keybind><!-- Keybindings for running applications --><keybind key="A-F2"><action name="Execute"><startupnotify><enabled>true</enabled><name>Run Program</name></startupnotify><command>gmrun</command></action></keybind><keybind key="A-F3"><action name="Execute"><startupnotify><enabled>true</enabled><name>dmenu-bind</name></startupnotify><command>~/.config/dmenu/dmenu-bind.sh</command></action></keybind><keybind key="W-f"><action name="Execute"><startupnotify><enabled>true</enabled><name>thunar</name></startupnotify><command>thunar</command></action></keybind><keybind key="W-t"><action name="Execute"><startupnotify><enabled>true</enabled><name>Terminal</name></startupnotify><command>x-terminal-emulator</command></action></keybind><keybind key="W-w"><action name="Execute"><startupnotify><enabled>true</enabled><name>Navigateur Web</name></startupnotify><command>x-www-browser</command></action></keybind><keybind key="W-h"><action name="Execute"><startupnotify><enabled>true</enabled><name>Client de microblogging</name></startupnotify><command>hotot</command></action></keybind><keybind key="W-e"><action name="Execute"><startupnotify><enabled>true</enabled><name>Éditeur de texte</name></startupnotify><command>gvim</command></action></keybind><keybind key="W-m"><action name="Execute"><startupnotify><enabled>true</enabled><name>Lecteur de musique</name></startupnotify><command>exaile</command></action></keybind><keybind key="W-v"><action name="Execute"><startupnotify><enabled>true</enabled><name>Lecteur vidéo</name></startupnotify><command>vlc</command></action></keybind><keybind key="W-j"><action name="Execute"><startupnotify><enabled>true</enabled><name>Client Jabber</name></startupnotify><command>gajim</command></action></keybind><keybind key="W-Tab"><action name="ShowMenu"><menu>client-list-combined-menu</menu></action></keybind><keybind key="W-space"><action name="ShowMenu"><menu>root-menu</menu></action></keybind><keybind key="XF86AudioStop"><action name="Execute"><command>exaile -\-stop</command></action></keybind><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>
     --&gt;
-    <keybind key="XF86AudioRaiseVolume"><action name="Execute"><command>amixer set Master 5%+ unmute</command></action></keybind>
-    <keybind key="XF86AudioLowerVolume"><action name="Execute"><command>amixer set Master 5%- unmute</command></action></keybind>
-    <keybind key="XF86AudioMute"><action name="Execute"><command>amixer set Master toggle</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="XF86Calculator"><action name="Execute"><command>gcalctool</command></action></keybind>
     <keybind key="XF86WebCam"><action name="Execute"><command>cheese</command></action></keybind>
     <keybind key="XF86Launch6"><action name="Execute"><command>toggle-touchpad</command></action></keybind>