diff options
-rwxr-xr-x | autodetect.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/autodetect.sh b/autodetect.sh index bf69c79..5b0006f 100755 --- a/autodetect.sh +++ b/autodetect.sh @@ -85,6 +85,10 @@ elif [ "$COMMAND" = "2external" -a "$EXT1_STATUS" = "connected" -a "$EXT2_STATUS elif [ "$COMMAND" = "note" -a "$NOTE_STATUS" = "connected" ]; then xrandr --dpi "$DPI" $(off_except "$NOTE_NAME") --output "$NOTE_NAME" --mode "$NOTE_MAX" +elif [ "$COMMAND" = "none" ]; then + # String "killthemall" should be something that is NOT real screen name + xrandr $(off_except "killthemall") --output "$NOTE_NAME" --mode "$NOTE_MAX" + 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" |