Skip to content

Commit

Permalink
Fixed #468
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceliuice committed Sep 1, 2024
1 parent 822f025 commit c5eee72
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -548,17 +548,17 @@ uninstall_theme() {
}

clean_theme() {
if [[ "$DEST_DIR" == "$HOME/.themes" ]]; then
local dest="$HOME/.local/share/themes"

for theme in "${THEME_VARIANTS[@]}"; do
for color in "${COLOR_VARIANTS[@]}"; do
for size in "${SIZE_VARIANTS[@]}"; do
for scheme in '' '-Nord' '-Dracula'; do
uninstall "${dest}" "${_name:-$THEME_NAME}" "$theme" "$color" "$size" "$scheme"
done
for theme in "${themes[@]}"; do
for color in "${colors[@]}"; do
for size in "${sizes[@]}"; do
uninstall "${dest}" "${_name:-$THEME_NAME}" "$theme" "$color" "$size" "$scheme"
done
done
done
fi
}

link_theme() {
Expand Down

0 comments on commit c5eee72

Please sign in to comment.