Rename the $XDG_DOCUMENTS_DIR folder

This commit is contained in:
Alexander Hess 2024-02-15 23:14:57 +01:00
parent 67c6eba5bd
commit b64b7ac6cb
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
5 changed files with 14 additions and 21 deletions

View file

@ -4,16 +4,16 @@ crashReporter=false
isVfsEnabled=false
monoIcons=true
moveToTrash=false
newBigFolderSizeLimit=999999
notifyExistingFoldersOverLimit=false
newBigFolderSizeLimit=10000
notifyExistingFoldersOverLimit=true
optionalServerNotifications=false
showCallNotifications=false
stopSyncingExistingFoldersOverLimit=false
useNewBigFolderSizeLimit=false
useNewBigFolderSizeLimit=true
[Accounts]
0\Folders\1\ignoreHiddenFiles=false
0\Folders\1\localPath=/home/alexander/Documents/
0\Folders\1\localPath=/home/alexander/Cloud/
0\Folders\1\paused=false
0\Folders\1\targetPath=/
0\Folders\1\version=2

View file

@ -1,6 +1,6 @@
[storage]
engine = file_system
path = /home/alexander/Documents/Getraenkemarkt
path = /home/alexander/Cloud/Getraenkemarkt
directory = Mackup
[applications_to_ignore]

View file

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

View file

@ -1,15 +1,8 @@
# 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_DOCUMENTS_DIR="$HOME/Cloud"
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"
XDG_MUSIC_DIR="$HOME/Cloud/Gallery/Music"
XDG_PICTURES_DIR="$HOME/Cloud/Gallery"
XDG_PUBLICSHARE_DIR="$HOME/Cloud/Shared/Public"
XDG_TEMPLATES_DIR="$HOME/Cloud/Templates"
XDG_VIDEOS_DIR="$HOME/Cloud/Gallery/Videos"

View file

@ -41,7 +41,7 @@ if _command_exists pip; then
# Ensure `pipx` is installed in the user's local environment
pip install --upgrade --user pipx
if [ -d "$HOME/data/getraenkemarkt" ]; then
if [ -d "$HOME/Cloud/Getraenkemarkt" ]; then
# (Re-)Install `mackup` via `pipx` in the user's local environment
export PIPX_BIN_DIR=$XDG_BIN_HOME