diff --git a/builds/utils/sh/disp b/builds/utils/sh/disp index 77abe77..3619f26 100755 --- a/builds/utils/sh/disp +++ b/builds/utils/sh/disp @@ -21,12 +21,6 @@ keyboard () { xset r rate 200 40 } -# initial post-wm setup -keyboard -statuswrap -set_walls -screensaver - find_card_pci() { [ -z $pci_path ] && pci_path=$(find /sys/devices | \ grep edid | \ @@ -54,22 +48,15 @@ case "$(hostname)" in bspc monitor HDMI-1 -d 2 4 6 8 0 ;; "mlg") - if exists DP-1-2; then - xrandr --output HDMI-0 --primary --mode 1920x1080 --rate 120 --pos 0x0 --rotate normal \ - --output DP-1-2 --mode 1920x1080 --rate 120 --pos 1920x0 --rotate normal \ - --output DP-0 --off \ - --output DP-1-1 --off - bspc monitor DP-1-2 -d 2 4 6 8 - elif exists DP-1-1; then - xrandr --output HDMI-0 --primary --mode 1920x1080 --rate 120 --pos 0x0 --rotate normal \ - --output DP-1-1 --mode 1920x1080 --rate 120 --pos 1920x0 --rotate normal \ - --output DP-0 --off \ - --output DP-1-2 --off - bspc monitor DP-1-1 -d 2 4 6 8 - fi + xrandr --output HDMI-0 --primary --mode 1920x1080 --pos 1080x420 --rotate normal --rate 120 \ + --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 + 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 xinput set-prop 'INSTANT USB GAMING MOUSE ' 'libinput Accel Speed' -1 - bspc monitor HDMI-0 -d 1 3 5 7 9 # setup synchronization pkill sshfs @@ -113,3 +100,10 @@ case "$(hostname)" in esac ;; esac + +# initial post-wm setup +keyboard +statuswrap +set_walls +screensaver +