From 1be3c2feaac665098749c9b888d8318d0986a3e2 Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Sat, 25 May 2024 21:01:05 -0500 Subject: [PATCH] invert monitors --- builds/utils/sh/disp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/builds/utils/sh/disp b/builds/utils/sh/disp index 27adda2..9b35d8d 100755 --- a/builds/utils/sh/disp +++ b/builds/utils/sh/disp @@ -55,14 +55,6 @@ case "$(hostname)" in "mlg") case "$1" in "invert") - xrandr \ - --output DP-0 --off \ - --output DP-1-2 --primary --mode 1920x1080 --pos 0x352 --rotate normal --rate 180 \ - --output DP-1-1 --mode 1920x1080 --pos 1920x352 --rotate normal --rate 180 - bspc monitor DP-1-2 -d 1 3 5 7 - bspc monitor DP-1-1 -d 2 4 6 8 - ;; - *) xrandr \ --output DP-0 --off \ --output DP-1-1 --primary --mode 1920x1080 --pos 0x352 --rotate normal --rate 180 \ @@ -70,6 +62,14 @@ case "$(hostname)" in bspc monitor DP-1-1 -d 1 3 5 7 bspc monitor DP-1-2 -d 2 4 6 8 ;; + *) + xrandr \ + --output DP-0 --off \ + --output DP-1-2 --primary --mode 1920x1080 --pos 0x352 --rotate normal --rate 180 \ + --output DP-1-1 --mode 1920x1080 --pos 1920x352 --rotate normal --rate 180 + bspc monitor DP-1-2 -d 1 3 5 7 + bspc monitor DP-1-1 -d 2 4 6 8 + ;; esac xinput set-prop 'INSTANT USB GAMING MOUSE ' 'libinput Accel Speed' -1