diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-14 14:30:07 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-14 14:30:07 +1300 |
commit | c8370aafa5a7227330d49deeb96d0e2d060d51b5 (patch) | |
tree | 1e64ff320b2cea1d6cef58738bceb20f825dc7df /X | |
parent | Finish xrq(1df) man page (diff) | |
download | dotfiles-c8370aafa5a7227330d49deeb96d0e2d060d51b5.tar.gz dotfiles-c8370aafa5a7227330d49deeb96d0e2d060d51b5.zip |
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
Diffstat (limited to 'X')
-rw-r--r-- | X/xinitrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |