diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-07-10 21:22:52 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-07-11 13:32:42 +0100 |
commit | ac9b93240c33acb1ea6954a6c09ecb00ada16e9c (patch) | |
tree | a46f0b991850025cd13bd3ba0d0e7b867c234424 | |
parent | 4f708b631cfc78c7965500f454fca81c85f68f6b (diff) | |
download | dotfiles-ac9b93240c33acb1ea6954a6c09ecb00ada16e9c.tar.gz dotfiles-ac9b93240c33acb1ea6954a6c09ecb00ada16e9c.tar.bz2 dotfiles-ac9b93240c33acb1ea6954a6c09ecb00ada16e9c.zip |
(XServer)+xrandr records for oldboy desktop
My desktop uses VGA and display port for it's outputs, distinct from
the Laptops outputs. Hence we can setup all xrandr records in one go
and be fine for the ride.
-rw-r--r-- | XServer/.xinitrc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/XServer/.xinitrc b/XServer/.xinitrc index edc9f7b..324b8e8 100644 --- a/XServer/.xinitrc +++ b/XServer/.xinitrc @@ -5,8 +5,11 @@ killall sxhkd; sh .xprofile; xset s 1800; -xrandr --output HDMI1 --primary; -xrandr --output eDP1 --right-of HDMI1; + +xrandr --auto --output HDMI1 --primary; +xrandr --auto --output eDP1 --right-of HDMI1; +xrandr --auto --output VGA1 --primary --left-of DP2; +xrandr --auto --output DP2 --rotate left; $(xss-lock --transfer-sleep-lock -- lock) & $HOME/.local/scripts/background & |