mirror of
https://github.com/Phantop/dotfiles
synced 2025-12-01 08:37:12 +00:00
Change user-dirs handling to a script
This commit is contained in:
parent
ba3b3cc725
commit
c79b70916d
|
|
@ -1,15 +0,0 @@
|
||||||
# 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/"
|
|
||||||
XDG_DOWNLOAD_DIR="/mnt/LocalDiskD/Downloads"
|
|
||||||
XDG_DOCUMENTS_DIR="$HOME/Documents"
|
|
||||||
XDG_MUSIC_DIR="/mnt/LocalDiskD/Music"
|
|
||||||
XDG_PICTURES_DIR="/mnt/LocalDiskD/Pictures"
|
|
||||||
XDG_VIDEOS_DIR="/mnt/LocalDiskD/Videos"
|
|
||||||
XDG_TEMPLATES_DIR="$HOME/"
|
|
||||||
XDG_PUBLICSHARE_DIR="$HOME/"
|
|
||||||
19
.symlinks
19
.symlinks
|
|
@ -3,3 +3,22 @@ for i in Downloads Music Pictures Videos
|
||||||
rm ~/$i
|
rm ~/$i
|
||||||
ln -s $D/$i ~/$i
|
ln -s $D/$i ~/$i
|
||||||
end
|
end
|
||||||
|
|
||||||
|
for i in '# This file is written by xdg-user-dirs-update
|
||||||
|
# If you want to change or add directories, just edit the line youre
|
||||||
|
# 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/"
|
||||||
|
XDG_DOWNLOAD_DIR="/mnt/LocalDiskD/Downloads"
|
||||||
|
XDG_DOCUMENTS_DIR="$HOME/Documents"
|
||||||
|
XDG_MUSIC_DIR="/mnt/LocalDiskD/Music"
|
||||||
|
XDG_PICTURES_DIR="/mnt/LocalDiskD/Pictures"
|
||||||
|
XDG_VIDEOS_DIR="/mnt/LocalDiskD/Videos"
|
||||||
|
XDG_TEMPLATES_DIR="$HOME/"
|
||||||
|
XDG_PUBLICSHARE_DIR="$HOME/"'
|
||||||
|
echo $i > ~.config/user-dirs.dir
|
||||||
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue