update disp for three monitor setup

This commit is contained in:
randomuser 2024-04-06 16:49:39 -05:00
parent fa17d83cb2
commit ec6a7979de
1 changed files with 16 additions and 14 deletions

View File

@ -53,22 +53,24 @@ case "$(hostname)" in
"mlg")
case "$1" in
"invert")
xrandr --output HDMI-0 --primary --mode 1920x1080 --pos 1080x420 --rotate normal --rate 120 \
xrandr \
--output HDMI-0 --mode 1920x1080 --pos 3840x0 --rotate right --rate 60 \
--output DP-0 --off \
--output DP-1-1 --mode 1920x1080 --pos 3000x420 --rotate normal --rate 120 \
--output DP-1-2 --mode 1920x1080 --pos 0x0 --rotate right --rate 60
--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
bspc monitor DP-1-2 -d 9
bspc monitor HDMI-0 -d 1 3 5 7
bspc monitor HDMI-0 -d 9
;;
*)
xrandr --output HDMI-0 --primary --mode 1920x1080 --pos 1080x420 --rotate normal --rate 120 \
xrandr \
--output HDMI-0 --mode 1920x1080 --pos 3840x0 --rotate right --rate 60 \
--output DP-0 --off \
--output DP-1-2 --mode 1920x1080 --pos 3000x420 --rotate normal --rate 120 \
--output DP-1-1 --mode 1920x1080 --pos 0x0 --rotate right --rate 60
--output DP-1-1 --primary --mode 1920x1080 --pos 0x352 --rotate normal --rate 180 \
--output DP-1-2 --mode 1920x1080 --pos 1920x352 --rotate normal --rate 180
bspc monitor DP-1-1 -d 1 3 5 7
bspc monitor DP-1-2 -d 2 4 6 8
bspc monitor DP-1-1 -d 9
bspc monitor HDMI-0 -d 1 3 5 7
bspc monitor HDMI-0 -d 9
;;
esac
xinput set-prop 'INSTANT USB GAMING MOUSE ' 'libinput Accel Speed' -1
@ -82,10 +84,10 @@ case "$(hostname)" in
sshfs usr@192.168.1.120:/home/usr/doc $HOME/.cache/mount_point
ln -sf $HOME/.cache/mount_point $HOME/doc
rm $HOME/dot_testing # this is also safe. see above
mkdir -p $HOME/.cache/mount_point2
sshfs usr@192.168.1.120:/home/usr/dot_testing $HOME/.cache/mount_point2
ln -sf $HOME/.cache/mount_point2 $HOME/dot_testing
rm $HOME/.thunderbird
mkdir -p $HOME/.cache/mount_point3
sshfs usr@192.168.1.120:/home/usr/.thunderbird $HOME/.cache/mount_point3
ln -sf $HOME/.cache/mount_point3 $HOME/.thunderbird
;;
"x230t")