aboutsummaryrefslogtreecommitdiff
path: root/XServer/.xinitrc
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-07-10 21:22:52 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-07-11 13:32:42 +0100
commitac9b93240c33acb1ea6954a6c09ecb00ada16e9c (patch)
treea46f0b991850025cd13bd3ba0d0e7b867c234424 /XServer/.xinitrc
parent4f708b631cfc78c7965500f454fca81c85f68f6b (diff)
downloaddotfiles-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.
Diffstat (limited to 'XServer/.xinitrc')
-rw-r--r--XServer/.xinitrc7
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 &