aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/chcolors
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.local/bin/chcolors')
-rwxr-xr-xdotfiles/.local/bin/chcolors2
1 files changed, 2 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/chcolors b/dotfiles/.local/bin/chcolors
index 30b520a..f4bdf6b 100755
--- a/dotfiles/.local/bin/chcolors
+++ b/dotfiles/.local/bin/chcolors
@@ -16,4 +16,6 @@ case $COLORSCHEME in
esac
echo "export COLORSCHEME=$COLORSCHEME" > $HOME/.cache/colorscheme
+sed -i -r --follow-symlinks "s/(light|dark)/$COLORSCHEME/g" $HOME/.config/alacritty/alacritty.toml
pkill -SIGUSR1 zsh
+pkill -SIGUSR1 nvim