From 266690aef5460ea0048f5d091bd51a0ac78791a1 Mon Sep 17 00:00:00 2001 From: jc <46619361+juancwu@users.noreply.github.com> Date: Mon, 12 Aug 2024 23:17:53 -0400 Subject: [PATCH] (zsh) comment out toggle theme --- zsh/.zshrc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index b89f73d..41f39f6 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -162,17 +162,17 @@ PS1="%n@%m:%~ $ " unset color_prompt # setup kitty, it will export TERM_COLOR_MODE (can be light or dark) -source ~/.config/kitty/setup.sh +# source ~/.config/kitty/setup.sh # function to toggle kitty terminal theme -toggle_theme() { - if [ "$TERM_COLOR_MODE" == "light" ]; then - export TERM_COLOR_MODE=dark - kitten @ set-colors --all "$HOME/.config/kitty/dark.conf" - else - export TERM_COLOR_MODE=light - kitten @ set-colors --all "$HOME/.config/kitty/light.conf" - fi -} +# toggle_theme() { +# if [ "$TERM_COLOR_MODE" == "light" ]; then +# export TERM_COLOR_MODE=dark +# kitten @ set-colors --all "$HOME/.config/kitty/dark.conf" +# else +# export TERM_COLOR_MODE=light +# kitten @ set-colors --all "$HOME/.config/kitty/light.conf" +# fi +# } type -p curl >/dev/null || echo -e "$WARNING curl is not installed"