aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/chcolors
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-09-20 21:26:44 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-09-20 21:26:44 +0300
commit24ac3cd2e11c114ef4c8ae1284953c8928f4a820 (patch)
treec43823a23d02dca5f57568b9167d7a37e1ad2fbf /dotfiles/.local/bin/chcolors
parent2b1eac8bc54dbc514e24c64143dc34ef5f1caca5 (diff)
downloadswayrice-24ac3cd2e11c114ef4c8ae1284953c8928f4a820.tar.gz
swayrice-24ac3cd2e11c114ef4c8ae1284953c8928f4a820.zip
A way to change colors dynamically with foot
Also some cleanup
Diffstat (limited to 'dotfiles/.local/bin/chcolors')
-rwxr-xr-xdotfiles/.local/bin/chcolors5
1 files changed, 1 insertions, 4 deletions
diff --git a/dotfiles/.local/bin/chcolors b/dotfiles/.local/bin/chcolors
index e62b047..9cd4270 100755
--- a/dotfiles/.local/bin/chcolors
+++ b/dotfiles/.local/bin/chcolors
@@ -13,8 +13,5 @@ case $COLORSCHEME in
COLORSCHEME="dark" ;;
esac
-sed -i --follow-symlinks \
- "s/^colors:.*/colors: \*$COLORSCHEME/g" \
- $HOME/.config/alacritty/alacritty.yml
-
echo "export COLORSCHEME=$COLORSCHEME" > $HOME/.cache/colorscheme
+pkill -SIGUSR1 zsh