diff options
Diffstat (limited to 'raveos-plasma-theme/raveos-plasma-apply.sh')
| -rwxr-xr-x | raveos-plasma-theme/raveos-plasma-apply.sh | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/raveos-plasma-theme/raveos-plasma-apply.sh b/raveos-plasma-theme/raveos-plasma-apply.sh index 20e104a..ed9213b 100755 --- a/raveos-plasma-theme/raveos-plasma-apply.sh +++ b/raveos-plasma-theme/raveos-plasma-apply.sh @@ -199,10 +199,20 @@ while IFS=: read -r user _ uid gid _ home shell; do ensure_bashrc_hook "${home}/.bashrc" echo "1" > "${home}/.config/raveos/plasma-migrated" - chown -R "${uid}:${gid}" \ - "${home}/.config" \ - "${home}/.local" \ - "${home}/.bashrc" 2>/dev/null || true + chown "${uid}:${gid}" \ + "${home}/.bashrc" \ + "${home}/.config/konsolerc" \ + "${home}/.config/kwalletrc" \ + "${home}/.config/kdeglobals" \ + "${home}/.config/plasmarc" 2>/dev/null || true + for d in \ + .config/kitty \ + .config/fastfetch \ + .config/autostart \ + .config/raveos \ + .local/share/konsole; do + [[ -e "${home}/${d}" ]] && chown -R "${uid}:${gid}" "${home}/${d}" 2>/dev/null || true + done done < /etc/passwd |