diff options
Diffstat (limited to '.config/herbstluftwm')
| -rwxr-xr-x | .config/herbstluftwm/autostart | 14 | ||||
| -rw-r--r-- | .config/herbstluftwm/dependencylist | 12 | ||||
| -rwxr-xr-x | .config/herbstluftwm/lock.sh | 7 | ||||
| -rwxr-xr-x | .config/herbstluftwm/panel.sh | 2 |
4 files changed, 27 insertions, 8 deletions
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index 8460a69..e0e59a3 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart | |||
| @@ -194,10 +194,10 @@ else | |||
| 194 | start_panel $panel | 194 | start_panel $panel |
| 195 | fi | 195 | fi |
| 196 | 196 | ||
| 197 | $hlwm_scripts/start.sh feh --bg-fill $wallpaper | 197 | $hlwm_scripts/start.sh "xautolock -locker $hlwm_scripts/lock.sh" |
| 198 | $hlwm_scripts/start.sh compton --config ~/.compton | 198 | $hlwm_scripts/start.sh "feh --bg-fill $wallpaper" |
| 199 | $hlwm_scripts/start.sh xrdb -load ~/.Xresources | 199 | $hlwm_scripts/start.sh "compton --config $HOME/.compton" |
| 200 | $hlwm_scripts/start.sh pulseaudio --start | 200 | $hlwm_scripts/start.sh "xrdb -load $HOME/.Xresources" |
| 201 | $hlwm_scripts/start.sh xscreensaver -no-splash | 201 | $hlwm_scripts/start.sh "pulseaudio --start" |
| 202 | $hlwm_scripts/start.sh dropboxd | 202 | $hlwm_scripts/start.sh "dropboxd" |
| 203 | $hlwm_scripts/start.sh $hlwm_scripts/notify.sh $monitor_w $window_p $panel_h $hlwm_scripts/popup.sh | 203 | $hlwm_scripts/start.sh "$hlwm_scripts/notify.sh $monitor_w $window_p $panel_h $hlwm_scripts/popup.sh" |
diff --git a/.config/herbstluftwm/dependencylist b/.config/herbstluftwm/dependencylist new file mode 100644 index 0000000..a18055d --- /dev/null +++ b/.config/herbstluftwm/dependencylist | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | compton | ||
| 2 | bar-aint-recursive | ||
| 3 | bc | ||
| 4 | wireless_tools | ||
| 5 | dmenu2 | ||
| 6 | feh | ||
| 7 | pulseaudio | ||
| 8 | alsa-utils | ||
| 9 | sed | ||
| 10 | i3lock | ||
| 11 | scrot | ||
| 12 | xautolock | ||
diff --git a/.config/herbstluftwm/lock.sh b/.config/herbstluftwm/lock.sh new file mode 100755 index 0000000..04c4638 --- /dev/null +++ b/.config/herbstluftwm/lock.sh | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | |||
| 3 | SCREENCAP="/tmp/lock.png" | ||
| 4 | scrot $SCREENCAP | ||
| 5 | convert -gaussian-blur "12x3" $SCREENCAP $SCREENCAP | ||
| 6 | i3lock -i $SCREENCAP | ||
| 7 | rm $SCREENCAP | ||
diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh index ac06100..24d0e12 100755 --- a/.config/herbstluftwm/panel.sh +++ b/.config/herbstluftwm/panel.sh | |||
| @@ -65,7 +65,7 @@ fi | |||
| 65 | if pgrep pulseaudio > /dev/null ; then | 65 | if pgrep pulseaudio > /dev/null ; then |
| 66 | volumes=$(\ | 66 | volumes=$(\ |
| 67 | amixer get Master | \ | 67 | amixer get Master | \ |
| 68 | grep Front\ | 68 | grep "Mono: Playback"\ |
| 69 | ) | 69 | ) |
| 70 | vol=$(\ | 70 | vol=$(\ |
| 71 | echo $volumes | \ | 71 | echo $volumes | \ |
