feat(alacritty): time for rose-pine

This commit is contained in:
Oliver Ladner 2024-09-23 10:23:52 +02:00
commit 93f1010398
2 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@
# selection (Ctrl v). You can also toggle between them while the selection is
# still active.
import = ["~/.config/alacritty/tokyonight_day.toml"]
import = ["~/.config/alacritty/rose-pine-dawn.toml"]
[font]
normal = { family = "JetBrainsMono Nerd Font", style = "Thin" }

View file

@ -6,7 +6,7 @@ mode=$(defaults read -g AppleInterfaceStyle 2>/dev/null || echo "Light")
alacritty_config=~/.config/alacritty/alacritty.toml
if [ "$mode" = "Dark" ]; then
sed -i '' "s#tokyonight_day.toml#tokyonight_moon.toml#" $alacritty_config
sed -i '' "s#rose-pine-dawn.toml#tokyonight_moon.toml#" $alacritty_config
else
sed -i '' "s#tokyonight_moon.toml#tokyonight_day.toml#" $alacritty_config
sed -i '' "s#tokyonight_moon.toml#rose-pine-dawn.toml#" $alacritty_config
fi