From 3a85ebad741acd00541b286edc4e4390e78fc657 Mon Sep 17 00:00:00 2001 From: jc <46619361+juancwu@users.noreply.github.com> Date: Sun, 2 Feb 2025 21:57:17 -0500 Subject: [PATCH] (zsh) remove auto theme switching --- zsh/.zshrc | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 4f2eb7e..1ae787e 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -245,26 +245,26 @@ fi export TERM_COLOR_MODE # set the terminal color theme -USE_TERM=alacritty -if [ $TERM_COLOR_MODE = "light" ]; then - if [ $USE_TERM = "kitty" ]; then - kitten @ set-colors --all "$HOME/.config/kitty/light.conf" - fi - if [ $USE_TERM = "alacritty" ]; then - theme_link="$HOME/.config/alacritty/theme.toml" - rm -rf "$theme_link" - ln -s "$HOME/ghq/alacritty/alacritty-theme/themes/catppuccin_latte.toml" "$theme_link" - fi -else - if [ $USE_TERM = "kitty" ]; then - kitten @ set-colors --all "$HOME/.config/kitty/dark.conf" - fi - if [ $USE_TERM = "alacritty" ]; then - theme_link="$HOME/.config/alacritty/theme.toml" - rm -r "$theme_link" - ln -s "$HOME/ghq/alacritty/alacritty-theme/themes/catppuccin_mocha.toml" "$theme_link" - fi -fi +# USE_TERM=alacritty +# if [ $TERM_COLOR_MODE = "light" ]; then +# if [ $USE_TERM = "kitty" ]; then +# kitten @ set-colors --all "$HOME/.config/kitty/light.conf" +# fi +# if [ $USE_TERM = "alacritty" ]; then +# theme_link="$HOME/.config/alacritty/theme.toml" +# rm -rf "$theme_link" +# ln -s "$HOME/ghq/alacritty/alacritty-theme/themes/catppuccin_latte.toml" "$theme_link" +# fi +# else +# if [ $USE_TERM = "kitty" ]; then +# kitten @ set-colors --all "$HOME/.config/kitty/dark.conf" +# fi +# if [ $USE_TERM = "alacritty" ]; then +# theme_link="$HOME/.config/alacritty/theme.toml" +# rm -r "$theme_link" +# ln -s "$HOME/ghq/alacritty/alacritty-theme/themes/catppuccin_mocha.toml" "$theme_link" +# fi +# fi type -p curl >/dev/null || echo -e "$WARNING curl is not installed"