add another setting to disp

This commit is contained in:
stupidcomputer 2024-08-02 05:58:31 -05:00
parent 38bee39349
commit 0a145e9ac8
1 changed files with 33 additions and 16 deletions

View File

@ -143,6 +143,22 @@ case "$(hostname)" in
esac esac
;; ;;
"copernicus") "copernicus")
case "$1" in
"tv")
xrandr --output HDMI-0 --off \
--output DP-0 --off \
--output DP-1 --off \
--output DP-2 --off \
--output DP-3 --off \
--output DP-4 --off \
--output DP-5 --off \
--output DP-1-1 --off \
--output HDMI-1-1 --off \
--output DP-1-2 --off \
--output HDMI-1-2 --primary --mode 1920x1080 --pos 0x0 --rotate normal
bspc monitor HDMI-1-2 -d 1 2 3 4 5 6 7 8 9
;;
*)
xinput set-prop 'INSTANT USB GAMING MOUSE ' 'libinput Accel Speed' -1 xinput set-prop 'INSTANT USB GAMING MOUSE ' 'libinput Accel Speed' -1
xrandr --output HDMI-0 --primary --mode 1920x1080 --rate 180 --pos 1920x0 --rotate normal \ xrandr --output HDMI-0 --primary --mode 1920x1080 --rate 180 --pos 1920x0 --rotate normal \
--output DP-0 --mode 1920x1080 --pos 0x0 --rate 180 --rotate normal \ --output DP-0 --mode 1920x1080 --pos 0x0 --rate 180 --rotate normal \
@ -160,6 +176,7 @@ case "$(hostname)" in
bspc monitor HDMI-1-2 -d 9 bspc monitor HDMI-1-2 -d 9
;; ;;
esac esac
esac
# initial post-wm setup # initial post-wm setup
keyboard keyboard