diff --git a/sh/disp b/sh/disp index 026da93..824559c 100755 --- a/sh/disp +++ b/sh/disp @@ -15,4 +15,13 @@ if [ "$(exists "HDMI-2")" -eq 1 ] && [ "$(exists "LVDS-1")" -eq 1 ]; then exit 0 fi +if [ "$(exists "HDMI-1")" -eq 1 ] && [ "$(exists "LVDS-1")" -eq 1 ]; then + printf "two" + xrandr --output HDMI-1 --right-of LVDS-1 --auto + xrandr --output VGA-1 --off --auto + bspc monitor LVDS-1 -d 1 2 3 4 5 6 7 8 9 + bspc monitor HDMI-1 -d 1 2 3 4 5 6 7 8 9 + exit 0 +fi + # default configuration's fine