diff options
Diffstat (limited to 'raveos-cosmic-theme')
| -rw-r--r-- | raveos-cosmic-theme/.SRCINFO | 7 | ||||
| -rw-r--r-- | raveos-cosmic-theme/PKGBUILD | 2 | ||||
| -rwxr-xr-x | raveos-cosmic-theme/raveos-cosmic-apply.sh | 12 |
3 files changed, 13 insertions, 8 deletions
diff --git a/raveos-cosmic-theme/.SRCINFO b/raveos-cosmic-theme/.SRCINFO index e8bc7f9..599d226 100644 --- a/raveos-cosmic-theme/.SRCINFO +++ b/raveos-cosmic-theme/.SRCINFO @@ -1,15 +1,16 @@ pkgbase = raveos-cosmic-theme pkgdesc = RaveOS Cosmic theme payload and installer pkgver = 1.0.0 - pkgrel = 1 + pkgrel = 4 url = https://raveos.local install = raveos-cosmic-theme.install arch = any license = custom + depends = fastfetch + depends = raveos-sddm-theme conflicts = raveos-gnome-theme conflicts = raveos-hyprland-theme conflicts = raveos-plasma-theme - depends = fastfetch - depends = raveos-sddm-theme + options = !debug pkgname = raveos-cosmic-theme diff --git a/raveos-cosmic-theme/PKGBUILD b/raveos-cosmic-theme/PKGBUILD index d4972b3..7dac3d4 100644 --- a/raveos-cosmic-theme/PKGBUILD +++ b/raveos-cosmic-theme/PKGBUILD @@ -2,7 +2,7 @@ pkgname=raveos-cosmic-theme pkgver=1.0.0 -pkgrel=3 +pkgrel=4 pkgdesc="RaveOS Cosmic theme payload and installer" arch=('any') url="https://raveos.local" diff --git a/raveos-cosmic-theme/raveos-cosmic-apply.sh b/raveos-cosmic-theme/raveos-cosmic-apply.sh index adf5e83..fb34b7d 100755 --- a/raveos-cosmic-theme/raveos-cosmic-apply.sh +++ b/raveos-cosmic-theme/raveos-cosmic-apply.sh @@ -124,10 +124,14 @@ while IFS=: read -r user _ uid gid _ home shell; do ensure_bashrc_hook "${home}/.bashrc" touch "$user_marker" - chown -R "${uid}:${gid}" \ - "${home}/.config" \ - "${home}/.local" \ - "${home}/.bashrc" 2>/dev/null || true + chown "${uid}:${gid}" "${home}/.bashrc" 2>/dev/null || true + for d in \ + .config/kitty \ + .config/fastfetch \ + .config/cosmic \ + .config/raveos-cosmic-theme; do + [[ -e "${home}/${d}" ]] && chown -R "${uid}:${gid}" "${home}/${d}" 2>/dev/null || true + done done < /etc/passwd echo "COSMIC tema telepites kesz." |