1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2025-01-15 17:17:03 +00:00

Symlinks: use $D documents

This commit is contained in:
Phantop 2020-06-23 23:48:07 -04:00
parent 9291f2b0e4
commit e03f2180f9

View file

@ -1,5 +1,5 @@
#!/usr/bin/fish #!/usr/bin/fish
for i in Downloads Music Pictures Videos for i in Documents Downloads Music Pictures Videos
rmdir ~/$i rmdir ~/$i
ln -s $D/$i ~/$i ln -s $D/$i ~/$i
end end
@ -13,7 +13,7 @@ for i in '# This file is written by xdg-user-dirs-update
# #
XDG_DESKTOP_DIR="$HOME/" XDG_DESKTOP_DIR="$HOME/"
XDG_DOWNLOAD_DIR="/mnt/LocalDiskD/Downloads" XDG_DOWNLOAD_DIR="/mnt/LocalDiskD/Downloads"
XDG_DOCUMENTS_DIR="$HOME/Documents" XDG_DOCUMENTS_DIR="/mnt/LocalDiskD/Documents"
XDG_MUSIC_DIR="/mnt/LocalDiskD/Music" XDG_MUSIC_DIR="/mnt/LocalDiskD/Music"
XDG_PICTURES_DIR="/mnt/LocalDiskD/Pictures" XDG_PICTURES_DIR="/mnt/LocalDiskD/Pictures"
XDG_VIDEOS_DIR="/mnt/LocalDiskD/Videos" XDG_VIDEOS_DIR="/mnt/LocalDiskD/Videos"