Change home screen settings
This commit is contained in:
parent
a10e2fbcc5
commit
c5f7ae96f5
@ -148,15 +148,15 @@ 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
|
||||||
#+end_src
|
#+end_src
|
||||||
|
Loading…
Reference in New Issue
Block a user