(zsh) remove auto theme switching
This commit is contained in:
parent
341cdd501a
commit
3a85ebad74
1 changed files with 20 additions and 20 deletions
40
zsh/.zshrc
40
zsh/.zshrc
|
|
@ -245,26 +245,26 @@ fi
|
||||||
export TERM_COLOR_MODE
|
export TERM_COLOR_MODE
|
||||||
|
|
||||||
# set the terminal color theme
|
# set the terminal color theme
|
||||||
USE_TERM=alacritty
|
# USE_TERM=alacritty
|
||||||
if [ $TERM_COLOR_MODE = "light" ]; then
|
# if [ $TERM_COLOR_MODE = "light" ]; then
|
||||||
if [ $USE_TERM = "kitty" ]; then
|
# if [ $USE_TERM = "kitty" ]; then
|
||||||
kitten @ set-colors --all "$HOME/.config/kitty/light.conf"
|
# kitten @ set-colors --all "$HOME/.config/kitty/light.conf"
|
||||||
fi
|
# fi
|
||||||
if [ $USE_TERM = "alacritty" ]; then
|
# if [ $USE_TERM = "alacritty" ]; then
|
||||||
theme_link="$HOME/.config/alacritty/theme.toml"
|
# theme_link="$HOME/.config/alacritty/theme.toml"
|
||||||
rm -rf "$theme_link"
|
# rm -rf "$theme_link"
|
||||||
ln -s "$HOME/ghq/alacritty/alacritty-theme/themes/catppuccin_latte.toml" "$theme_link"
|
# ln -s "$HOME/ghq/alacritty/alacritty-theme/themes/catppuccin_latte.toml" "$theme_link"
|
||||||
fi
|
# fi
|
||||||
else
|
# else
|
||||||
if [ $USE_TERM = "kitty" ]; then
|
# if [ $USE_TERM = "kitty" ]; then
|
||||||
kitten @ set-colors --all "$HOME/.config/kitty/dark.conf"
|
# kitten @ set-colors --all "$HOME/.config/kitty/dark.conf"
|
||||||
fi
|
# fi
|
||||||
if [ $USE_TERM = "alacritty" ]; then
|
# if [ $USE_TERM = "alacritty" ]; then
|
||||||
theme_link="$HOME/.config/alacritty/theme.toml"
|
# theme_link="$HOME/.config/alacritty/theme.toml"
|
||||||
rm -r "$theme_link"
|
# rm -r "$theme_link"
|
||||||
ln -s "$HOME/ghq/alacritty/alacritty-theme/themes/catppuccin_mocha.toml" "$theme_link"
|
# ln -s "$HOME/ghq/alacritty/alacritty-theme/themes/catppuccin_mocha.toml" "$theme_link"
|
||||||
fi
|
# fi
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
type -p curl >/dev/null || echo -e "$WARNING curl is not installed"
|
type -p curl >/dev/null || echo -e "$WARNING curl is not installed"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue