From c8370aafa5a7227330d49deeb96d0e2d060d51b5 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 14 Jan 2017 14:30:07 +1300 Subject: Add hook to load xrandr(1) file first Here's mine on my home desktop: # Size monitors xrandr --output DVI-0 --auto xrandr --output DisplayPort-1 --auto xrandr --output DVI-1 --auto # Place monitors xrandr --output DVI-0 --pos 0x360 xrandr --output DisplayPort-1 --pos 1920x0 xrandr --output DVI-1 --pos 4480x360 --- X/xinitrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/X/xinitrc b/X/xinitrc index e0b3d661..6f2ad45f 100644 --- a/X/xinitrc +++ b/X/xinitrc @@ -1,3 +1,6 @@ +# If a file ~/.xrandrrc exists for monitor setup, source that first +[ -e "$HOME"/.xrandrrc ] && . "$HOME"/.xrandrrc + # Read X resources xrdb "$HOME"/.Xresources -- cgit v1.2.3