diff options
Diffstat (limited to 'raveos-cosmic-theme/raveos-cosmic-theme.install')
| -rw-r--r-- | raveos-cosmic-theme/raveos-cosmic-theme.install | 7 |
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 |