Make updatecolors run much faster

This commit is contained in:
Talia 2020-08-19 18:41:25 +02:00
parent 4a9c292231
commit 6b4213ea97

View file

@ -27,8 +27,9 @@ if which kitty; then
cat $HOME/darkrc/kitty_$theme.conf |\ cat $HOME/darkrc/kitty_$theme.conf |\
grep '^[[:alpha:]]' |\ grep '^[[:alpha:]]' |\
sed -s 's/ \+/=/' |\ sed -s 's/ \+/=/' |\
sed -s 's/^.*$/set-colors --all \0/' |\
sort |\ sort |\
xargs -l kitty @ set-colors --all kitty @ >/dev/null
fi fi
pkill -HUP conky pkill -HUP conky