aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/chcolors
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2024-06-07 00:55:02 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2024-06-07 00:55:02 +0300
commit182cb9918352e93047d0fcc8c38048c61b3d4dfd (patch)
tree4a2d48fccb72a871170837b39cd1ff4d94976dea /dotfiles/.local/bin/chcolors
parent58e22e07452056f8ca971f879a96dc1c7444b4cf (diff)
downloadswayrice-182cb9918352e93047d0fcc8c38048c61b3d4dfd.tar.gz
swayrice-182cb9918352e93047d0fcc8c38048c61b3d4dfd.zip
terminal: return to Alacritty
I haven't actively used my trusty old X200 in more than a year, and I really did miss Alacritty's font rendering and features, namely config hot-reload.
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