From c01957542361cafef67f48c55dde8340c2469287 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Tue, 2 Jan 2024 12:37:32 +0100 Subject: [PATCH] improve syncclouds with caldav env var --- .local/bin/syncclouds.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.local/bin/syncclouds.sh b/.local/bin/syncclouds.sh index 3d4751d..12effda 100755 --- a/.local/bin/syncclouds.sh +++ b/.local/bin/syncclouds.sh @@ -30,10 +30,9 @@ 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 + CALCURSE_CALDAV_PASSWORD=$(pass server/seenas/nextcloud_admin_pass) calcurse-caldav } > /dev/null 2>&1 & calcurse_pid=$! -echo "calcurse_pid: $calcurse_pid" # Wait for all processes to complete and print a message for each one