updated pokomen.sh

This commit is contained in:
JaKooLit 2025-02-25 11:59:57 +09:00
parent 8077f10d5c
commit 370641659f

View File

@ -27,8 +27,8 @@ fi
# Check if ~/.zshrc exists # Check if ~/.zshrc exists
if [ -f "$HOME/.zshrc" ]; then if [ -f "$HOME/.zshrc" ]; then
sed -i "/#pokemon-colorscripts --no-title -s -r | fastfetch -c $HOME\/.config\/fastfetch\/config-pokemon.jsonc --logo-type file-raw --logo-height 10 --logo-width 5 --logo -/s/^#//" "$HOME/.zshrc" >> "$LOG" 2>&1 sed -i 's|^#pokemon-colorscripts --no-title -s -r \| fastfetch -c \$HOME/.config/fastfetch/config-pokemon.jsonc --logo-type file-raw --logo-height 10 --logo-width 5 --logo -|pokemon-colorscripts --no-title -s -r \| fastfetch -c \$HOME/.config/fastfetch/config-pokemon.jsonc --logo-type file-raw --logo-height 10 --logo-width 5 --logo -|' "$HOME/.zshrc" >> "$LOG" 2>&1
sed -i "/^fastfetch -c $HOME\/.config\/fastfetch\/config-compact.jsonc/s/^/#/" "$HOME/.zshrc" >> "$LOG" 2>&1 sed -i "s|^fastfetch -c \$HOME/.config/fastfetch/config-compact.jsonc|#fastfetch -c \$HOME/.config/fastfetch/config-compact.jsonc|" "$HOME/.zshrc" >> "$LOG" 2>&1
else else
echo "$HOME/.zshrc not found. Cant enable ${YELLOW}Pokemon color scripts${RESET}" >> "$LOG" 2>&1 echo "$HOME/.zshrc not found. Cant enable ${YELLOW}Pokemon color scripts${RESET}" >> "$LOG" 2>&1
fi fi