Added restoring of wallpaper to monsetup

This commit is contained in:
madmaurice 2015-09-08 05:55:18 +02:00
parent f199047073
commit 28118489b5

View file

@ -18,6 +18,10 @@ bspwm_mv_win() {
done
}
restore_wallpapers() {
nitrogen --restore
}
bspwm_config_second() {
if [ "$1" != "1" ]; then
bspwm_mv_win
@ -33,18 +37,21 @@ xrandr_second() { xrandr --output VGA1 --auto --right-of LVDS1 --output LVDS1 -
mode_off() {
bspwm_config_second 0
xrandr_off
restore_wallpapers
}
mode_clone() {
bspwm_config_second 0
xrandr_off
xrandr_clone
restore_wallpapers
}
mode_second() {
xrandr_off
xrandr_second
bspwm_config_second 1
restore_wallpapers
}
case $1 in