Compare commits
2 Commits
18d1bca807
...
5f0fe257aa
Author | SHA1 | Date | |
---|---|---|---|
5f0fe257aa | |||
55eac4d70c |
19
.config/vdirsyncer/config
Normal file
19
.config/vdirsyncer/config
Normal file
@ -0,0 +1,19 @@
|
||||
[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"]
|
@ -14,7 +14,7 @@ moodle_pid=$!
|
||||
# sync nextcloud drive
|
||||
echo "syncclouds.sh: nextcloudcmd"
|
||||
{
|
||||
nextcloudcmd -s -u "alexander@bocken.org" --password "$(pass server/seenas/nextcloud_admin_pass | head -n1)" ~/dox/nextcloud https://cloud.bocken.org
|
||||
nextcloudcmd -u "alexander" --password "Misc/nextcloud_token" ~/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 server/seenas/nextcloud_admin_pass) calcurse-caldav
|
||||
CALCURSE_CALDAV_PASSWORD=$(pass Misc/calcurse_token) calcurse-caldav
|
||||
} > /dev/null 2>&1 &
|
||||
calcurse_pid=$!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user