Rename the $XDG_DOCUMENTS_DIR folder
This commit is contained in:
parent
67c6eba5bd
commit
b64b7ac6cb
5 changed files with 14 additions and 21 deletions
|
@ -4,16 +4,16 @@ crashReporter=false
|
||||||
isVfsEnabled=false
|
isVfsEnabled=false
|
||||||
monoIcons=true
|
monoIcons=true
|
||||||
moveToTrash=false
|
moveToTrash=false
|
||||||
newBigFolderSizeLimit=999999
|
newBigFolderSizeLimit=10000
|
||||||
notifyExistingFoldersOverLimit=false
|
notifyExistingFoldersOverLimit=true
|
||||||
optionalServerNotifications=false
|
optionalServerNotifications=false
|
||||||
showCallNotifications=false
|
showCallNotifications=false
|
||||||
stopSyncingExistingFoldersOverLimit=false
|
stopSyncingExistingFoldersOverLimit=false
|
||||||
useNewBigFolderSizeLimit=false
|
useNewBigFolderSizeLimit=true
|
||||||
|
|
||||||
[Accounts]
|
[Accounts]
|
||||||
0\Folders\1\ignoreHiddenFiles=false
|
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\paused=false
|
||||||
0\Folders\1\targetPath=/
|
0\Folders\1\targetPath=/
|
||||||
0\Folders\1\version=2
|
0\Folders\1\version=2
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[storage]
|
[storage]
|
||||||
engine = file_system
|
engine = file_system
|
||||||
path = /home/alexander/Documents/Getraenkemarkt
|
path = /home/alexander/Cloud/Getraenkemarkt
|
||||||
directory = Mackup
|
directory = Mackup
|
||||||
|
|
||||||
[applications_to_ignore]
|
[applications_to_ignore]
|
||||||
|
|
|
@ -179,8 +179,8 @@ _fix_locations() {
|
||||||
run-private-scripts() { # in the Nextcloud
|
run-private-scripts() { # in the Nextcloud
|
||||||
sudo --validate || return
|
sudo --validate || return
|
||||||
|
|
||||||
if [ -d "$HOME/Documents/Getraenkemarkt/Shell" ]; then
|
if [ -d "$HOME/Cloud/Getraenkemarkt/Shell" ]; then
|
||||||
for file in $HOME/Documents/Getraenkemarkt/Shell/*.sh; do
|
for file in $HOME/Cloud/Getraenkemarkt/Shell/*.sh; do
|
||||||
source $file
|
source $file
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -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_DESKTOP_DIR="$HOME/Desktop"
|
||||||
XDG_DOCUMENTS_DIR="$HOME/Documents"
|
XDG_DOCUMENTS_DIR="$HOME/Cloud"
|
||||||
XDG_DOWNLOAD_DIR="$HOME/Downloads"
|
XDG_DOWNLOAD_DIR="$HOME/Downloads"
|
||||||
XDG_MUSIC_DIR="$HOME/Documents/Gallery/Music"
|
XDG_MUSIC_DIR="$HOME/Cloud/Gallery/Music"
|
||||||
XDG_PICTURES_DIR="$HOME/Documents/Gallery"
|
XDG_PICTURES_DIR="$HOME/Cloud/Gallery"
|
||||||
XDG_PUBLICSHARE_DIR="$HOME/Documents/Shared/Public"
|
XDG_PUBLICSHARE_DIR="$HOME/Cloud/Shared/Public"
|
||||||
XDG_TEMPLATES_DIR="$HOME/Documents/Templates"
|
XDG_TEMPLATES_DIR="$HOME/Cloud/Templates"
|
||||||
XDG_VIDEOS_DIR="$HOME/Documents/Gallery/Videos"
|
XDG_VIDEOS_DIR="$HOME/Cloud/Gallery/Videos"
|
||||||
|
|
|
@ -41,7 +41,7 @@ if _command_exists pip; then
|
||||||
# Ensure `pipx` is installed in the user's local environment
|
# Ensure `pipx` is installed in the user's local environment
|
||||||
pip install --upgrade --user pipx
|
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
|
# (Re-)Install `mackup` via `pipx` in the user's local environment
|
||||||
export PIPX_BIN_DIR=$XDG_BIN_HOME
|
export PIPX_BIN_DIR=$XDG_BIN_HOME
|
||||||
|
|
Loading…
Reference in a new issue