From e6cfda78efc2e94a9512b0f7ae637b7b40256b4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Ob=C5=AFrka?= Date: Sun, 22 Feb 2015 19:57:51 +0100 Subject: Fix 3 displays command --- autodetect.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/autodetect.sh b/autodetect.sh index 478fb0c..c5867fb 100755 --- a/autodetect.sh +++ b/autodetect.sh @@ -70,7 +70,10 @@ elif [ "$EXT2_STATUS" = "disconnected" -a "$NOTE_STATUS" = "connected" -a "$EXT1 handle_non_exist_mode "$EXT1_NAME" "$NOTE_NAME" "$EXT1_MAX" "$NOTE_MAX" elif [ "$EXT2_STATUS" = "connected" -a "$NOTE_STATUS" = "connected" -a "$EXT1_STATUS" = "connected" ]; then - xrandr --dpi "$DPI" --output "$NOTE_NAME" --mode "$NOTE_MAX" --output "$EXT1_NAME" --mode "$EXT1_MAX" --left-of "$NOTE_NAME" --output "$EXT2_NAME" --mode "$EXT2_MAX" --left-of "$EXT1_NAME" + xrandr --dpi "$DPI" $(rest_off) + xrandr --dpi "$DPI" --output "$NOTE_NAME" --mode "$NOTE_MAX" + xrandr --dpi "$DPI" --output "$EXT1_NAME" --mode "$EXT1_MAX" --left-of "$NOTE_NAME" + xrandr --dpi "$DPI" --output "$EXT2_NAME" --mode "$EXT2_MAX" --left-of "$EXT1_NAME" elif [ "$EXT2_STATUS" = "disconnected" -a "$NOTE_STATUS" = "connected" -a "$EXT1_STATUS" = "disconnected" ]; then ~/bin/dnote.sh -- cgit v1.2.3