diff --git a/scripts/monsetup.sh b/scripts/monsetup.sh index 96f0429..bae61c1 100755 --- a/scripts/monsetup.sh +++ b/scripts/monsetup.sh @@ -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