summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2019-12-04 10:27:09 +0100
committerFlorian Pritz <bluewind@xinu.at>2019-12-04 10:27:09 +0100
commitf1794f45fc890f4b01217a2fc2cf78c801f206d2 (patch)
tree1f729728cccec23bb9fd95aa18b315b5a22ca67e
parentac72db38bba25647430558516f696027ce4b2a7b (diff)
downloadbin-f1794f45fc890f4b01217a2fc2cf78c801f206d2.tar.gz
bin-f1794f45fc890f4b01217a2fc2cf78c801f206d2.tar.xz
invert-display: Add sleep to fix hanging hotkey when usign for the first time
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xinvert-display2
1 files changed, 2 insertions, 0 deletions
diff --git a/invert-display b/invert-display
index 0cbc4df..ce584fc 100755
--- a/invert-display
+++ b/invert-display
@@ -2,5 +2,7 @@
set -e
+sleep 0.2
+
xcalib -invert -alter -o 0
xcalib -invert -alter -o 1