diff options
| author | 2014-05-15 16:40:26 +0200 | |
|---|---|---|
| committer | 2014-05-15 16:40:26 +0200 | |
| commit | 1de9064f69b45b922a13996e54259ec8fa0c844a (patch) | |
| tree | c08cb02b6e3b23fe57d23de9b951e4a80a727c2c /.config/herbstluftwm/autostart | |
| parent | f228e2ad2aaac15ae522565661698decc84ccbca (diff) | |
| download | dotfiles-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/autostart | 11 |
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 | |||
| 34 | hc keybind $Mod-Shift-c close | 34 | hc keybind $Mod-Shift-c close |
| 35 | hc keybind $Mod-Return spawn xterm | 35 | hc keybind $Mod-Return spawn xterm |
| 36 | hc keybind $Mod-grave spawn dmenu_run -h $PANEL_HEIGHT -p "Run:" -nb $DARK -nf $LIGHT -sb $ACCENT -sf $DARK | 36 | hc keybind $Mod-grave spawn dmenu_run -h $PANEL_HEIGHT -p "Run:" -nb $DARK -nf $LIGHT -sb $ACCENT -sf $DARK |
| 37 | hc keybind XF86AudioLowerVolume spawn amixer set Master 5%- | ||
| 38 | hc 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 |
| 204 | xrdb -load ~/.Xresources | 206 | xrdb -load ~/.Xresources |
| 207 | |||
| 208 | #Start pulseaudio | ||
| 209 | if pgrep pulseaudio >> /dev/null | ||
| 210 | then | ||
| 211 | kill $(pgrep pulseaudio) | ||
| 212 | pulseaudio --start | ||
| 213 | else | ||
| 214 | pulseaudio --start | ||
| 215 | fi | ||
