diff options
-rwxr-xr-x | autodetect.sh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/autodetect.sh b/autodetect.sh index f37575a..083042d 100755 --- a/autodetect.sh +++ b/autodetect.sh @@ -66,15 +66,9 @@ EXT2_MAX="$(echo "$XRANDR" | get_resolution "$EXT2_NAME")" if [ "$COMMAND" = "external" -a "$EXT1_STATUS" = "connected" ]; then xrandr --dpi "$DPI" $(off_except "$EXT1_NAME") --output "$EXT1_NAME" --mode "$EXT1_MAX" -elif [ "$COMMAND" = "external" -a "$EXT2_STATUS" = "connected" ]; then - xrandr --dpi "$DPI" $(off_except "$EXT2_NAME") --output "$EXT2_NAME" --mode "$EXT2_MAX" - elif [ "$COMMAND" = "note" -a "$NOTE_STATUS" = "connected" ]; then xrandr --dpi "$DPI" $(off_except "$NOTE_NAME") --output "$NOTE_NAME" --mode "$NOTE_MAX" -elif [ "$EXT2_STATUS" = "connected" -a "$NOTE_STATUS" = "connected" -a "$EXT1_STATUS" = "disconnected" ]; then - handle_non_exist_mode "$EXT2_NAME" "$NOTE_NAME" "$EXT2_MAX" "$NOTE_MAX" - elif [ "$EXT2_STATUS" = "disconnected" -a "$NOTE_STATUS" = "connected" -a "$EXT1_STATUS" = "connected" ]; then handle_non_exist_mode "$EXT1_NAME" "$NOTE_NAME" "$EXT1_MAX" "$NOTE_MAX" |