fix: wofi-theme + wallpaper + ai-command-center source entfernt

Drei Fixes:

1. ai-command-center.conf aus hyprland.conf entfernt
   (existiert nicht auf frischer VM -> source= globbing error)

2. hyprpaper.conf in standard hyprpaper Format geschrieben
   (preload=/wallpaper= statt awww-block-format)
   awww.conf wird separat geschrieben falls awww installiert ist

3. apply-theme.sh Fehlerbehandlung: tui_spin || return 1
   (vorher wurde immer 'Theme applied' gemeldet auch bei Fehler)

4. replace_home_paths auch fuer wofi/ hinzugefuegt
This commit is contained in:
2026-05-28 18:00:19 +02:00
parent 39b7664de5
commit a819973018
4 changed files with 17 additions and 9 deletions

View File

@@ -84,7 +84,10 @@ module_main() {
sudo_run chown "$(id -u):$(id -g)" /var/lib/pascal-sddm-theme 2>/dev/null || true
log_info "Applying theme..."
tui_spin "Applying theme..." bash "$theme_script" --apply "$choice"
if ! tui_spin "Applying theme..." bash "$theme_script" --apply "$choice"; then
log_warn "Theme application returned errors"
return 1
fi
log_success "Theme applied: $(basename "$choice" .theme)"
}