From e820a921e4ea51508430b4e4300da74317cf56b1 Mon Sep 17 00:00:00 2001 From: angelic-sedition Date: Sat, 14 Feb 2015 16:14:06 -0500 Subject: [PATCH] make wait time safer for -W if too short will mess it up --- tdrop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdrop b/tdrop index b412e55..38608e3 100755 --- a/tdrop +++ b/tdrop @@ -127,7 +127,7 @@ term_create() { win_create() { $term & # need to wait for window to be created - sleep 0.2 + sleep 0.5 # often pids have two wids; first one has always been the right one for what I've tested wid=$(xdotool search --pid $! | head -n 1) echo "$wid" > /tmp/tdrop/"$term$num"