1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

scripts/4screens: make each display configurable

This commit is contained in:
Joe Groocock 2017-10-03 09:39:05 +01:00
parent 9d68559fd9
commit 7da3fc8d9f
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -1,9 +1,14 @@
#!/bin/sh
set -e
xrandr --output DP-0.1 --primary --mode 1920x1080 --pos 0x1080 --rotate normal \
--output DP-0.2.1 --mode 1920x1080 --pos 0x0 --rotate inverted \
--output DP-0.2.2.1 --mode 1920x1080 --pos 1920x0 --rotate inverted \
--output DP-0.2.2.2.1 --mode 1920x1080 --pos 1920x1080 --rotate normal
TOP_LEFT="HDMI-0"
TOP_RIGHT="DP-2.2.1"
BOTTOM_LEFT="DVI-D-0"
BOTTOM_RIGHT="DP-2.1"
xrandr --output $BOTTOM_LEFT --primary --mode 1920x1080 --pos 0x1080 --rotate normal \
--output $TOP_LEFT --mode 1920x1080 --pos 0x0 --rotate inverted \
--output $TOP_RIGHT --mode 1920x1080 --pos 1920x0 --rotate inverted \
--output $BOTTOM_RIGHT --mode 1920x1080 --pos 1920x1080 --rotate normal
[ -e ~/.fehbg ] && ~/.fehbg