summaryrefslogtreecommitdiff
path: root/raveos-plasma-theme
diff options
context:
space:
mode:
Diffstat (limited to 'raveos-plasma-theme')
-rw-r--r--raveos-plasma-theme/.SRCINFO3
-rw-r--r--raveos-plasma-theme/PKGBUILD5
-rw-r--r--raveos-plasma-theme/kwalletrc7
-rwxr-xr-xraveos-plasma-theme/raveos-plasma-apply.sh19
-rwxr-xr-xraveos-plasma-theme/raveos-plasma-first-login.sh4
5 files changed, 31 insertions, 7 deletions
diff --git a/raveos-plasma-theme/.SRCINFO b/raveos-plasma-theme/.SRCINFO
index e0ceeb8..8812ea0 100644
--- a/raveos-plasma-theme/.SRCINFO
+++ b/raveos-plasma-theme/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = raveos-plasma-theme
pkgdesc = RaveOS Plasma theme payload and installer
pkgver = 1.0.0
- pkgrel = 2
+ pkgrel = 3
url = https://raveos.local
install = raveos-plasma-theme.install
arch = any
@@ -12,6 +12,7 @@ pkgbase = raveos-plasma-theme
depends = fastfetch
depends = raveos-sddm-theme
depends = wl-clipboard
+ depends = kwallet-pam
options = !debug
pkgname = raveos-plasma-theme
diff --git a/raveos-plasma-theme/PKGBUILD b/raveos-plasma-theme/PKGBUILD
index 29465be..4b8a0e9 100644
--- a/raveos-plasma-theme/PKGBUILD
+++ b/raveos-plasma-theme/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=raveos-plasma-theme
pkgver=1.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="RaveOS Plasma theme payload and installer"
arch=('any')
url="https://raveos.local"
@@ -10,7 +10,7 @@ license=('custom')
options=('!debug')
conflicts=('raveos-gnome-theme' 'raveos-hyprland-theme' 'raveos-cosmic-theme')
-depends=('fastfetch' 'raveos-sddm-theme' 'wl-clipboard')
+depends=('fastfetch' 'raveos-sddm-theme' 'wl-clipboard' 'kwallet-pam')
install="${pkgname}.install"
source=()
@@ -46,6 +46,7 @@ package() {
install -dm755 "${pkgdir}/etc/xdg"
install -Dm644 "${startdir}/kdeglobals" "${pkgdir}/etc/xdg/kdeglobals"
+ install -Dm644 "${startdir}/kwalletrc" "${pkgdir}/etc/xdg/kwalletrc"
install -Dm644 "${startdir}/ksplashrc" "${pkgdir}/etc/xdg/ksplashrc"
install -Dm644 "${startdir}/kscreenlockerrc" "${pkgdir}/etc/xdg/kscreenlockerrc"
install -Dm644 "${startdir}/konsolerc" "${pkgdir}/etc/xdg/konsolerc"
diff --git a/raveos-plasma-theme/kwalletrc b/raveos-plasma-theme/kwalletrc
new file mode 100644
index 0000000..29384a6
--- /dev/null
+++ b/raveos-plasma-theme/kwalletrc
@@ -0,0 +1,7 @@
+[Wallet]
+Default Wallet=kdewallet
+Enabled=true
+First Use=false
+
+[org.freedesktop.secrets]
+api-enabled=true
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
diff --git a/raveos-plasma-theme/raveos-plasma-first-login.sh b/raveos-plasma-theme/raveos-plasma-first-login.sh
index f16f43d..421ee84 100755
--- a/raveos-plasma-theme/raveos-plasma-first-login.sh
+++ b/raveos-plasma-theme/raveos-plasma-first-login.sh
@@ -23,10 +23,6 @@ elif command -v qdbus >/dev/null 2>&1; then
QDBUS="qdbus"
fi
-if command -v plasma-apply-lookandfeel >/dev/null 2>&1; then
- plasma-apply-lookandfeel -a org.kde.breezedark.desktop >/dev/null 2>&1 || true
-fi
-
if [[ -f "${wallpaper}" ]] && command -v plasma-apply-wallpaperimage >/dev/null 2>&1; then
plasma-apply-wallpaperimage "${wallpaper}" >/dev/null 2>&1 || true
fi