summaryrefslogtreecommitdiff
path: root/raveos-cosmic-theme/raveos-cosmic-theme.install
diff options
context:
space:
mode:
authorNippy <nippy@Beller-Mac-mini.lan>2026-09-08 20:36:52 +0200
committerNippy <nippy@Beller-Mac-mini.lan>2026-09-08 20:38:25 +0200
commitadcb52806eb4c778bd97dc7eb01ee43ae5733fd1 (patch)
treed8e54c6a9300c1b4aae91747acbb0869440003c7 /raveos-cosmic-theme/raveos-cosmic-theme.install
parenta9d2aca55e607205bed058d268d37c1fe89095f8 (diff)
downloadRaveOS-PKGBUILD-adcb52806eb4c778bd97dc7eb01ee43ae5733fd1.tar.gz
RaveOS-PKGBUILD-adcb52806eb4c778bd97dc7eb01ee43ae5733fd1.zip
fixed theme and raveswitch abd welcomeapp.HEADmain
Diffstat (limited to 'raveos-cosmic-theme/raveos-cosmic-theme.install')
-rw-r--r--raveos-cosmic-theme/raveos-cosmic-theme.install7
1 files changed, 7 insertions, 0 deletions
diff --git a/raveos-cosmic-theme/raveos-cosmic-theme.install b/raveos-cosmic-theme/raveos-cosmic-theme.install
index c022d33..963e9b8 100644
--- a/raveos-cosmic-theme/raveos-cosmic-theme.install
+++ b/raveos-cosmic-theme/raveos-cosmic-theme.install
@@ -1,4 +1,11 @@
_enable_apply_service() {
+ local payload="/usr/share/raveos/cosmic-theme/theme-data"
+ if [ -f "${payload}/background" ]; then
+ install -Dm644 "${payload}/background" /usr/share/backgrounds/raveos/raveos-main-bg.jpeg 2>/dev/null || true
+ fi
+ if [ -f "${payload}/profile.d/raveos-fastfetch.sh" ]; then
+ install -Dm755 "${payload}/profile.d/raveos-fastfetch.sh" /etc/profile.d/raveos-fastfetch.sh 2>/dev/null || true
+ fi
if command -v systemctl >/dev/null 2>&1; then
systemctl enable raveos-cosmic-theme-apply.service >/dev/null 2>&1 || true
fi