Nextcloud client: Support multi sync folders and move to userspace

This commit is contained in:
Daniel Pätzold
2026-04-08 14:52:11 +02:00
parent 7930263a3b
commit 772f20e1ce
3 changed files with 133 additions and 83 deletions
+17 -3
View File
@@ -38,9 +38,23 @@ if [ "$EUID" -ne 0 ]; then
#Important Files
export DAVTOKENFILENAME="${DECRYPTEDDATADIR}/WEBDAVTOKEN"
#Path for Documents
export CLIENT_DATA_DST="${DECRYPTEDDATADIR}/Dokumente" #Optional
export CLIENT_DATA_SRC="/Documents"
#Optional: Sync Folders with nextcloud client
CLIENT_DATA_SYNC=() # Do not remove
# If you dont want to use Folder synchronisation: comment out each line starting with CLIENT_DATA_SYNC_LINE= or CLIENT_DATA_SYNC+=
#First Sync Folder
CLIENT_DATA_SYNC_LINE=("${DECRYPTEDDATADIR}/Dokumente" "/Documents")
CLIENT_DATA_SYNC+=("$(declare -p CLIENT_DATA_SYNC_LINE)") # Repeat for each CLIENT_DATA_SYNC_LINE
#Next Sync Folder
CLIENT_DATA_SYNC_LINE=("${DECRYPTEDDATADIR}/Bilder" "/Photos")
CLIENT_DATA_SYNC+=("$(declare -p CLIENT_DATA_SYNC_LINE)") # Repeat for each CLIENT_DATA_SYNC_LINE
#Next Sync Folder
#...
export CLIENT_DATA_SYNC_DECLARE="$(declare -p CLIENT_DATA_SYNC)" # Do not remove
#End of Sync Folder for nextcloud client
#Firefox Profiles of the User
export PROFILE_FIREFOX_SRC="mozilla_profiles/firefox"