add alternate display configuration

This commit is contained in:
randomuser 2023-01-15 16:50:01 -06:00
parent ad572313d0
commit 08e6b7a16c
1 changed files with 9 additions and 0 deletions

View File

@ -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