add verbosity

This commit is contained in:
randomuser 2021-04-26 11:08:40 -05:00
parent 8ec60f8752
commit dba873a10d
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@ exists() {
}
if [ $(exists "HDMI2") -eq 1 ] && [ $(exists "LVDS1") -eq 1 ]; then
printf "HDMI2, LVDS1 exists\n"
xrandr --output LVDS1 --below HDMI2 --auto
bspc monitor LVDS1 I II III IV V
bspc monitor HDMI2 VI VII VIII IX
@ -12,11 +13,13 @@ if [ $(exists "HDMI2") -eq 1 ] && [ $(exists "LVDS1") -eq 1 ]; then
fi
if [ $(exists "HDMI1") -eq 1 ] && [ $(exists "LVDS1") -eq 1 ]; then
printf "HDMI1, LVDS1 exists\n"
xrandr --output LVDS1 --below HDMI1 --auto
bspc monitor LVDS1 I II III IV V
bspc monitor HDMI1 VI VII VIII IX
exit 0
fi
printf "defaulting to default configuration\n"
bspc monitor -d I II III IV V VI VII VIII IX X
exit 0