Make updatecolors run much faster
This commit is contained in:
parent
4a9c292231
commit
6b4213ea97
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue