fix: update paths from old colorschemes dir to active_theme/active_profile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user