summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--raveos-hyprland-theme/PKGBUILD2
-rw-r--r--raveos-hyprland-theme/raveos-hyprland-apply.sh4
2 files changed, 5 insertions, 1 deletions
diff --git a/raveos-hyprland-theme/PKGBUILD b/raveos-hyprland-theme/PKGBUILD
index a9599cb..80b3337 100644
--- a/raveos-hyprland-theme/PKGBUILD
+++ b/raveos-hyprland-theme/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=raveos-hyprland-theme
pkgver=0.0.0
-pkgrel=14
+pkgrel=15
pkgdesc="RaveOS Hyprland theme payload and installer (includes DankMaterialShell)"
arch=('any')
url="https://raveos.local"
diff --git a/raveos-hyprland-theme/raveos-hyprland-apply.sh b/raveos-hyprland-theme/raveos-hyprland-apply.sh
index b83e90a..46b8cd1 100644
--- a/raveos-hyprland-theme/raveos-hyprland-apply.sh
+++ b/raveos-hyprland-theme/raveos-hyprland-apply.sh
@@ -156,6 +156,10 @@ while IFS=: read -r user _ uid gid _ home shell; do
done
chown -R "${uid}:${gid}" "$home"
+
+ if command -v matugen &>/dev/null && [[ -f "${home}/.config/background" ]]; then
+ runuser -u "$user" -- matugen image "${home}/.config/background" 2>/dev/null || true
+ fi
done < /etc/passwd
echo "Automatic apply finished."