less intensive startup notify checking

pull/40/head
TomasM 2017-11-13 06:59:18 -05:00
parent 5b5f37692a
commit f0f3f9f852
1 changed files with 2 additions and 1 deletions

View File

@ -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
) &