Added restoring of wallpaper to monsetup
This commit is contained in:
parent
f199047073
commit
28118489b5
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue