don't use extra icon file
use kill instead of pkill for speed
This commit is contained in:
parent
aaeb0a73dc
commit
3bf2023dd5
@ -54,8 +54,7 @@ else
|
|||||||
accounts=$*
|
accounts=$*
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo " 🔃" > /tmp/imapsyncicon_"$USER"
|
( kill -46 "$(pidof "${STATUSBAR:-dwmblocks}")" >/dev/null 2>&1 ) 2>/dev/null
|
||||||
( pkill -RTMIN+12 "${STATUSBAR:-blocks}" >/dev/null 2>&1 ) 2>/dev/null
|
|
||||||
|
|
||||||
# Parallelize multiple accounts
|
# Parallelize multiple accounts
|
||||||
for account in $accounts
|
for account in $accounts
|
||||||
@ -64,8 +63,7 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
wait
|
wait
|
||||||
rm -f /tmp/imapsyncicon_"$USER"
|
( kill -46 "$(pidof "${STATUSBAR:-dwmblocks}")" >/dev/null 2>&1 ) 2>/dev/null
|
||||||
( pkill -RTMIN+12 "${STATUSBAR:-blocks}" >/dev/null 2>&1 ) 2>/dev/null
|
|
||||||
|
|
||||||
notmuch new 2>/dev/null
|
notmuch new 2>/dev/null
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user