Use more traditional user folder names

This commit is contained in:
Alexander Hess 2024-01-17 02:46:05 +01:00
parent 93677129bd
commit f5edfd09cd
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
4 changed files with 20 additions and 15 deletions

View file

@ -13,7 +13,7 @@ useNewBigFolderSizeLimit=false
[Accounts]
0\Folders\1\ignoreHiddenFiles=false
0\Folders\1\localPath=/home/alexander/data/
0\Folders\1\localPath=/home/alexander/Documents/
0\Folders\1\paused=false
0\Folders\1\targetPath=/
0\Folders\1\version=2

View file

@ -1,7 +1,7 @@
[storage]
engine = file_system
path = /home/alexander/data/getraenkemarkt
directory = mackup
path = /home/alexander/Documents/Getraenkemarkt
directory = Mackup
[applications_to_ignore]
# Do not sync configuration files managed by

View file

@ -179,8 +179,8 @@ _fix_locations() {
run-private-scripts() { # in the Nextcloud
sudo --validate || return
if [ -d "$HOME/data/getraenkemarkt/shell" ]; then
for file in $HOME/data/getraenkemarkt/shell/*.sh; do
if [ -d "$HOME/Documents/Getraenkemarkt/Shell" ]; then
for file in $HOME/Documents/Getraenkemarkt/Shell/*.sh; do
source $file
done
fi

View file

@ -1,10 +1,15 @@
# Configure the XDG user directories to integrate Nextcloud
XDG_DESKTOP_DIR="$HOME/desktop"
XDG_DOCUMENTS_DIR="$HOME/data"
XDG_DOWNLOAD_DIR="$HOME/downloads"
XDG_MUSIC_DIR="$HOME/data"
XDG_PICTURES_DIR="$HOME/data/photos"
XDG_PUBLICSHARE_DIR="$HOME/data/shares/public"
XDG_TEMPLATES_DIR="$HOME/data/templates"
XDG_VIDEOS_DIR="$HOME/data/photos/videos"
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_MUSIC_DIR="$HOME/Documents/Gallery/Music"
XDG_PICTURES_DIR="$HOME/Documents/Gallery"
XDG_PUBLICSHARE_DIR="$HOME/Documents/Shared/Public"
XDG_TEMPLATES_DIR="$HOME/Documents/Templates"
XDG_VIDEOS_DIR="$HOME/Documents/Gallery/Videos"