From 8e4de98a559de9d3432cb534c3a9d083802c61bb Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Wed, 18 Mar 2020 11:36:55 -0600 Subject: [PATCH] Rotated monitors at work --- config/xserver/screenlayout/workdock.sh | 26 ++++++++++++------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/config/xserver/screenlayout/workdock.sh b/config/xserver/screenlayout/workdock.sh index 1691d4c..0b51683 100755 --- a/config/xserver/screenlayout/workdock.sh +++ b/config/xserver/screenlayout/workdock.sh @@ -1,24 +1,22 @@ #!/bin/sh if xrandr | grep -q "DP-0 connected"; then xrandr \ - --output DP-0 --mode 1920x1080 --pos 0x0 --rotate left --scale 1.5x1.5 --primary\ - --output DP-1 --off\ - --output DP-2 --mode 2880x1800 --pos 5760x0 --rotate normal --scale 0.8x0.8\ - --output DP-3 --off\ + --output DP-0 --primary --mode 1920x1080 --pos 0x586 --rotate normal --scale 1.5x1.5\ + --output DP-1 --off \ + --output HDMI-0 --off \ + --output DP-2 --mode 2880x1800 --pos 4500x586 --rotate normal --scale 0.8x0.8\ + --output DP-3 --off \ --output DP-4 --mode 1920x1080 --pos 2880x0 --rotate right --scale 1.5x1.5\ - --output HDMI-0 --off\ - --setmonitor BigBoi auto DP-0,DP-4\ - ; + ; else xrandr \ - --output DP-0 --off\ - --output HDMI-0 --off\ - --output DP-1 --mode 1920x1080 --pos 0x0 --rotate left --scale 1.5x1.5 --primary\ - --output DP-2 --mode 2880x1800 --pos 5760x0 --rotate normal --scale 0.8x0.8\ + --output DP-0 --off \ + --output DP-1 --primary --mode 1920x1080 --pos 0x586 --rotate normal --scale 1.5x1.5\ + --output HDMI-0 --off \ + --output DP-2 --mode 2880x1800 --pos 4500x586 --rotate normal --scale 0.8x0.8\ --output DP-3 --mode 1920x1080 --pos 2880x0 --rotate right --scale 1.5x1.5\ - --output DP-4 --off\ - --setmonitor BigBoi auto DP-1,DP-3\ - ; + --output DP-4 --off \ + ; fi