diff options
author | Robin Obůrka <r.oburka@gmail.com> | 2015-02-26 13:10:15 +0100 |
---|---|---|
committer | Robin Obůrka <r.oburka@gmail.com> | 2015-02-26 13:10:15 +0100 |
commit | 43b514f40d060346a0bb21e80ccabc6a485e5f55 (patch) | |
tree | 14366b00920fdb0bc3c3a5ab530f760e764149ba /autodetect.sh | |
parent | Remove some duplicate profiles (diff) | |
download | display_autoset-43b514f40d060346a0bb21e80ccabc6a485e5f55.tar.xz |
Make better readable tests
Diffstat (limited to 'autodetect.sh')
-rwxr-xr-x | autodetect.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autodetect.sh b/autodetect.sh index 083042d..4b9601f 100755 --- a/autodetect.sh +++ b/autodetect.sh @@ -69,10 +69,10 @@ if [ "$COMMAND" = "external" -a "$EXT1_STATUS" = "connected" ]; then elif [ "$COMMAND" = "note" -a "$NOTE_STATUS" = "connected" ]; then xrandr --dpi "$DPI" $(off_except "$NOTE_NAME") --output "$NOTE_NAME" --mode "$NOTE_MAX" -elif [ "$EXT2_STATUS" = "disconnected" -a "$NOTE_STATUS" = "connected" -a "$EXT1_STATUS" = "connected" ]; then +elif [ "$EXT1_STATUS" = "connected" -a "$NOTE_STATUS" = "connected" -a "$EXT2_STATUS" = "disconnected" ]; then 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 +elif [ "$EXT1_STATUS" = "connected" -a "$NOTE_STATUS" = "connected" -a "$EXT2_STATUS" = "connected" ]; then # This isn't one command, because there is some weird error in xrandr. # That is the only way that this thing works. xrandr --dpi "$DPI" $(off_except "$NOTE_NAME" "$EXT1_NAME" "$EXT2_NAME") |