summaryrefslogtreecommitdiff
path: root/raveos-plasma-theme/raveos-plasma-apply.sh
diff options
context:
space:
mode:
Diffstat (limited to 'raveos-plasma-theme/raveos-plasma-apply.sh')
-rwxr-xr-xraveos-plasma-theme/raveos-plasma-apply.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/raveos-plasma-theme/raveos-plasma-apply.sh b/raveos-plasma-theme/raveos-plasma-apply.sh
index 2e7854e..cf1ce9c 100755
--- a/raveos-plasma-theme/raveos-plasma-apply.sh
+++ b/raveos-plasma-theme/raveos-plasma-apply.sh
@@ -82,6 +82,20 @@ widgetStyle=Breeze
GLBEOF
}
+write_kwalletrc() {
+ local target_home="$1"
+ mkdir -p "${target_home}/.config"
+ cat > "${target_home}/.config/kwalletrc" <<'KWEOF'
+[Wallet]
+Default Wallet=kdewallet
+Enabled=true
+First Use=false
+
+[org.freedesktop.secrets]
+api-enabled=true
+KWEOF
+}
+
# skel konfiguráció új felhasználóknak
mkdir -p \
/etc/skel/.config/kitty \
@@ -110,6 +124,7 @@ write_konsolerc /etc/skel
write_kscreenlockerrc /etc/skel
write_ksplashrc /etc/skel
write_kdeglobals /etc/skel
+write_kwalletrc /etc/skel
disable_kmix_autostart /etc/skel
ensure_bashrc_hook /etc/skel/.bashrc
echo "1" > /etc/skel/.config/raveos/plasma-migrated
@@ -149,6 +164,10 @@ while IFS=: read -r user _ uid gid _ home shell; do
write_konsolerc "${home}"
fi
+ if [[ ! -f "${home}/.config/kwalletrc" ]]; then
+ write_kwalletrc "${home}"
+ fi
+
if [[ ! -f "${home}/.config/autostart/kmix_autostart.desktop" ]]; then
disable_kmix_autostart "${home}"
fi