From 6b4213ea97e76d3a3dbd41bc7a7c003e3429f66f Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Wed, 19 Aug 2020 18:41:25 +0200 Subject: [PATCH] Make updatecolors run much faster --- bin/updatecolors | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/updatecolors b/bin/updatecolors index 9bb8f44..1985a36 100755 --- a/bin/updatecolors +++ b/bin/updatecolors @@ -27,8 +27,9 @@ if which kitty; then cat $HOME/darkrc/kitty_$theme.conf |\ grep '^[[:alpha:]]' |\ sed -s 's/ \+/=/' |\ + sed -s 's/^.*$/set-colors --all \0/' |\ sort |\ - xargs -l kitty @ set-colors --all + kitty @ >/dev/null fi pkill -HUP conky