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

@@ -1067,15 +1067,22 @@ EOF
apply_wallpaper() {
cat >"$HYPRPAPER_CONF" <<EOF
wallpaper {
monitor =
path = $WALLPAPER
fit_mode = cover
}
preload = $WALLPAPER
wallpaper = ,$WALLPAPER
EOF
printf '%s\n' "$WALLPAPER" >"$CURRENT_WALLPAPER"
if command -v awww >/dev/null 2>&1; then
cat >"$(dirname "$HYPRPAPER_CONF")/awww.conf" <<EOF
wallpaper {
monitor =
path = $WALLPAPER
fit_mode = cover
}
EOF
fi
if pgrep -x Hyprland >/dev/null 2>&1; then
if command -v awww >/dev/null 2>&1; then
if ! pgrep -x awww-daemon >/dev/null 2>&1; then