fix: update paths from old colorschemes dir to active_theme/active_profile

This commit is contained in:
2026-04-21 17:53:22 +02:00
parent 350fb4fe59
commit 90e993aa96
2 changed files with 12 additions and 3 deletions
+7
View File
@@ -34,6 +34,13 @@ if [[ -z "$current_theme" || ! "$current_theme" == "$PROFILE_DIR/themes/"* ]]; t
echo " active theme -> $default_theme"
fi
# Pre-create cache symlinks immediately so Hyprland never sees them missing
# (avoids config errors if Hyprland re-reads its config during the dir swap)
mkdir -p ~/.cache/wal
[[ -f ~/.cache/wal/colors-hypr.conf ]] && ln -sf ~/.cache/wal/colors-hypr.conf ~/.config/hypr/colors.conf
[[ -f ~/.cache/wal/waybar-style.css ]] && ln -sf ~/.cache/wal/waybar-style.css ~/.config/waybar/style.css
[[ -f ~/.cache/wal/wofi-style.css ]] && ln -sf ~/.cache/wal/wofi-style.css ~/.config/wofi/style.css
# Install global scripts to ~/.local/bin
mkdir -p "$HOME/.local/bin"
for script in "$PROFILE_DIR/scripts/"*.sh; do