Remove nextcloud-kwallet script

This commit is contained in:
Marcel Kapfer 2020-08-25 19:10:41 +02:00
parent 372bdc8c8c
commit 1b395dd7ee
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09
2 changed files with 1 additions and 20 deletions

View file

@ -12,5 +12,5 @@ picom -b
redshift-gtk &
nm-applet &
gnome-keyring-daemon --start
~/dotfiles/scripts/nextcloud-kwallet.sh &
nextcloud &
keepassxc &

View file

@ -1,19 +0,0 @@
#!/bin/bash
#
# See https://github.com/nextcloud/desktop/issues/1011
#
############################################
# Adjust the following to suit your needs
WALLET="kdewallet" # Name of wallet storing nextcloud client password
MAX_TRIES=2 # Max. number of tries to ask for password
############################################
i=0
while [ $i -lt $MAX_TRIES ]; do
((i++))
open=`qdbus org.kde.kwalletd5 /modules/kwalletd5 isOpen "$WALLET"`
if [ "$open" = "true" ]; then
break
fi
qdbus org.kde.kwalletd5 /modules/kwalletd5 open "$WALLET" 0 "nextcloud-client-starter" > /dev/null
done
nohup nextcloud >> /dev/null 2>&1