From 182cb9918352e93047d0fcc8c38048c61b3d4dfd Mon Sep 17 00:00:00 2001
From: Yaroslav de la Peña Smirnov <yps@yaroslavps.com>
Date: Fri, 7 Jun 2024 00:55:02 +0300
Subject: 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.
---
 dotfiles/.local/bin/chcolors | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'dotfiles/.local/bin/chcolors')

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
-- 
cgit v1.2.3