less intensive startup notify checking
This commit is contained in:
@@ -8,8 +8,9 @@ xsetroot -xcf $CURSORSDIR/left_ptr_watch $SIZE
|
|||||||
export WINDOWS="$(wmctrl -l)"
|
export WINDOWS="$(wmctrl -l)"
|
||||||
|
|
||||||
(
|
(
|
||||||
|
sleep 0.2
|
||||||
until diff <(echo "$WINDOWS") <(wmctrl -l) | egrep -q "^[>]"; do
|
until diff <(echo "$WINDOWS") <(wmctrl -l) | egrep -q "^[>]"; do
|
||||||
sleep 0.1
|
sleep 0.5
|
||||||
done
|
done
|
||||||
xsetroot -xcf $CURSORSDIR/left_ptr $SIZE
|
xsetroot -xcf $CURSORSDIR/left_ptr $SIZE
|
||||||
) &
|
) &
|
||||||
|
|||||||
Reference in New Issue
Block a user