From 038991fa043edd2134dac85594bbd37d637361f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Ob=C5=AFrka?= Date: Tue, 11 Oct 2016 21:55:05 +0200 Subject: autodetect: Add sleep before second xrandr query I think there is some pause before xrandr provides the correct value. --- autodetect.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/autodetect.sh b/autodetect.sh index 6a7b6d4..05b40ef 100755 --- a/autodetect.sh +++ b/autodetect.sh @@ -134,6 +134,7 @@ elif [ "$EXT2_STATUS" = "disconnected" -a "$NOTE_STATUS" = "connected" -a "$EXT1 fi ## Query current status +sleep 1 XRANDR="$(query_xrandr)" HASH="$(compute_hash "$XRANDR")" -- cgit v1.2.3