less intensive startup notify checking

This commit is contained in:
TomasM
2017-11-13 06:59:18 -05:00
parent 5b5f37692a
commit f0f3f9f852
@@ -8,8 +8,9 @@ xsetroot -xcf $CURSORSDIR/left_ptr_watch $SIZE
export WINDOWS="$(wmctrl -l)"
(
sleep 0.2
until diff <(echo "$WINDOWS") <(wmctrl -l) | egrep -q "^[>]"; do
sleep 0.1
sleep 0.5
done
xsetroot -xcf $CURSORSDIR/left_ptr $SIZE
) &