From 325d237863fa7c1d87b331887f53fd14aeb3c941 Mon Sep 17 00:00:00 2001 From: afonso Date: Sat, 20 Jul 2024 14:26:22 +0100 Subject: [PATCH] [scripts] fixed change-theme --- .local/bin/change-theme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/change-theme.sh b/.local/bin/change-theme.sh index 760a8b9..406d570 100755 --- a/.local/bin/change-theme.sh +++ b/.local/bin/change-theme.sh @@ -19,7 +19,7 @@ change_common(){ #Change alacritty theme sed -i '' -e "s|import = \[\"~/.config/alacritty/themes/.*\"\]|import = [\"~/.config/alacritty/themes/${alacritty_theme_name}.toml\"]|g" ~/.config/alacritty/alacritty.toml #Change zsh theme - sed -i '' -e "s|source \$HOME/.config/zsh/themes/.*zsh|source \$HOME/.config/zsh/themes/${zsh_theme_name}.zsh|g" ~/.zshrc + sed -i '' -e "s|source \$ZDOTDIR/themes/.*zsh|source \$ZDOTDIR/themes/${zsh_theme_name}.zsh|g" ~/.zshrc #Reload zsh sessions pids=$(pgrep zsh) while IFS= read -r pid; do