Wallet: Disable if not KDE Window-Manager

This commit is contained in:
Daniel Pätzold
2026-04-12 11:21:41 +02:00
parent a6f9709b9f
commit df29674158
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -28,6 +28,11 @@ if [ "${DAVTOKEN_USER}." == "." ]; then
exit 1
fi
if [[ -z $(wmctrl -m | grep "KWin") ]]; then
# No KDE here - Cinnamon in Test
exit 0
fi
#Local Vars
WALLETNAME="kdewallet"
WALLETFILE="${WALLETNAME}.kwl"
+5
View File
@@ -5,6 +5,11 @@
WALLETAPPID="sys_config_wallet_script"
WALLETNAME="kdewallet"
if [[ -z $(wmctrl -m | grep "KWin") ]]; then
# No KDE here - Cinnamon in Test
exit 0
fi
#Restart the service
nohup kwalletd6 >/dev/null 2>&1 &
sleep 1