Change home screen settings

This commit is contained in:
Thomas Dehaeze 2020-11-16 13:49:01 +01:00
parent a10e2fbcc5
commit c5f7ae96f5

View File

@ -148,14 +148,14 @@ Script used to convert a figure drawn on my Boox note2 to a png file that can th
xrandr --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP1 --off --output DP1-1 --off --output DP1-2 --off --output DP2 --off --output VIRTUAL1 --off xrandr --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP1 --off --output DP1-1 --off --output DP1-2 --off --output DP2 --off --output VIRTUAL1 --off
;; ;;
"Home") "Home")
xrandr --output eDP1 --off --output DP1 --primary --mode 2560x1440 --pos 0x0 --rotate normal --output DP2 --off --output VIRTUAL1 --off xrandr --output eDP1 --off --output DP2-2 --primary --mode 2560x1440 --pos 0x0 --rotate normal --output DP1 --off --output VIRTUAL1 --off
;; ;;
,*) ,*)
echo "== ! missing or invalid argument ! ==" echo "== ! missing or invalid argument ! =="
exit 2 exit 2
esac esac
setbg # Fix background if screen size/arangement has changed. setbg && \ # Fix background if screen size/arangement has changed.
$HOME/.config/polybar/scripts/launch.sh # restart polybar $HOME/.config/polybar/scripts/launch.sh # restart polybar
exit 0 exit 0