Compare commits

..

No commits in common. "5f0fe257aa9437eb9e6ca2f040fbf8a5ad25f0b2" and "18d1bca8079fa950a3d80c025442eeec564ff41d" have entirely different histories.

2 changed files with 2 additions and 21 deletions

View File

@ -1,19 +0,0 @@
[general]
status_path = "~/.config/vdirsyncer/status/"
[pair nextcloud_contacts]
a = "nextcloud_contacts_local"
b = "nextcloud_contacts_remote"
collections = ["from a", "from b"]
[storage nextcloud_contacts_local]
type = "filesystem"
path = "~/.local/share/vdirsyncer/"
fileext = ".vcf"
[storage nextcloud_contacts_remote]
type = "carddav"
url = "https://cloud.bocken.org/remote.php/dav/addressbooks/users/alexander/contacts/"
auth = "basic"
username = "alexander"
password.fetch = ["shell", "pass Misc/NC_vdirsyncer | head -n1"]

View File

@ -14,7 +14,7 @@ moodle_pid=$!
# sync nextcloud drive
echo "syncclouds.sh: nextcloudcmd"
{
nextcloudcmd -u "alexander" --password "Misc/nextcloud_token" ~/dox/nextcloud https://cloud.bocken.org
nextcloudcmd -s -u "alexander@bocken.org" --password "$(pass server/seenas/nextcloud_admin_pass | head -n1)" ~/dox/nextcloud https://cloud.bocken.org
} > /dev/null 2>&1 &
nextcloud_pid=$!
@ -30,7 +30,7 @@ echo "syncclouds.sh: calcurse-caldav"
{
# remove lock file if calcurse-caldav is not running
pgrep -x calcurse-caldav || [ -f ~/.local/share/calcurse/caldav/lock ] && rm ~/.local/share/calcurse/caldav/lock
CALCURSE_CALDAV_PASSWORD=$(pass Misc/calcurse_token) calcurse-caldav
CALCURSE_CALDAV_PASSWORD=$(pass server/seenas/nextcloud_admin_pass) calcurse-caldav
} > /dev/null 2>&1 &
calcurse_pid=$!