invert monitors

This commit is contained in:
stupidcomputer 2024-05-25 21:01:05 -05:00
parent 6e80934f75
commit 1be3c2feaa
1 changed files with 8 additions and 8 deletions

View File

@ -55,14 +55,6 @@ case "$(hostname)" in
"mlg") "mlg")
case "$1" in case "$1" in
"invert") "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 \ xrandr \
--output DP-0 --off \ --output DP-0 --off \
--output DP-1-1 --primary --mode 1920x1080 --pos 0x352 --rotate normal --rate 180 \ --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-1 -d 1 3 5 7
bspc monitor DP-1-2 -d 2 4 6 8 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 esac
xinput set-prop 'INSTANT USB GAMING MOUSE ' 'libinput Accel Speed' -1 xinput set-prop 'INSTANT USB GAMING MOUSE ' 'libinput Accel Speed' -1