From 69e130f1dc94aacb0f42049af385e0ccec1cebfd Mon Sep 17 00:00:00 2001 From: jc <46619361+juancwu@users.noreply.github.com> Date: Wed, 7 Aug 2024 16:19:04 -0400 Subject: [PATCH] (bash) update rc file --- bash/.bashrc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index 34124f2..fd2718a 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -218,13 +218,18 @@ unset color_prompt source ~/.config/kitty/setup.sh # function to toggle kitty terminal theme toggle_theme() { + # theme_link="$HOME/.config/alacritty/theme.toml" + # rm -r "$theme_link" if [ "$TERM_COLOR_MODE" == "light" ]; then export TERM_COLOR_MODE=dark - kitten @ set-colors --all "$HOME/.config/kitty/dark.conf" + # kitten @ set-colors --all "$HOME/.config/kitty/dark.conf" + # theme="catppuccin_latte" else export TERM_COLOR_MODE=light - kitten @ set-colors --all "$HOME/.config/kitty/light.conf" + # theme="catppuccin_mocha" fi + kitten @ set-colors --all "$HOME/.config/kitty/$TERM_COLOR_MODE.conf" + # ln "$HOME/.config/alacritty/themes/themes/$theme.toml" "$theme_link" } type -p curl >/dev/null || echo -e "$WARNING curl is not installed"