aboutsummaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm/autostart
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2014-05-15 16:40:26 +0200
committerGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2014-05-15 16:40:26 +0200
commit1de9064f69b45b922a13996e54259ec8fa0c844a (patch)
treec08cb02b6e3b23fe57d23de9b951e4a80a727c2c /.config/herbstluftwm/autostart
parentf228e2ad2aaac15ae522565661698decc84ccbca (diff)
downloaddotfiles-1de9064f69b45b922a13996e54259ec8fa0c844a.tar.gz
dotfiles-1de9064f69b45b922a13996e54259ec8fa0c844a.tar.bz2
dotfiles-1de9064f69b45b922a13996e54259ec8fa0c844a.zip
Added sound functionalities to HLWM
Diffstat (limited to '.config/herbstluftwm/autostart')
-rwxr-xr-x.config/herbstluftwm/autostart11
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart
index e9cf3ee..cb59263 100755
--- a/.config/herbstluftwm/autostart
+++ b/.config/herbstluftwm/autostart
@@ -34,6 +34,8 @@ hc keybind $Mod-Shift-r reload
34hc keybind $Mod-Shift-c close 34hc keybind $Mod-Shift-c close
35hc keybind $Mod-Return spawn xterm 35hc keybind $Mod-Return spawn xterm
36hc keybind $Mod-grave spawn dmenu_run -h $PANEL_HEIGHT -p "Run:" -nb $DARK -nf $LIGHT -sb $ACCENT -sf $DARK 36hc keybind $Mod-grave spawn dmenu_run -h $PANEL_HEIGHT -p "Run:" -nb $DARK -nf $LIGHT -sb $ACCENT -sf $DARK
37hc keybind XF86AudioLowerVolume spawn amixer set Master 5%-
38hc keybind XF86AudioRaiseVolume spawn amixer set Master 5%+
37 39
38# basic movement 40# basic movement
39# focusing clients 41# focusing clients
@@ -202,3 +204,12 @@ fi
202 204
203#Load .Xresources 205#Load .Xresources
204xrdb -load ~/.Xresources 206xrdb -load ~/.Xresources
207
208#Start pulseaudio
209if pgrep pulseaudio >> /dev/null
210then
211 kill $(pgrep pulseaudio)
212 pulseaudio --start
213else
214 pulseaudio --start
215fi