mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-27 09:03:17 +00:00
25 lines
878 B
Fish
Executable file
25 lines
878 B
Fish
Executable file
#!/usr/bin/fish
|
|
for i in Documents Downloads Music Pictures Videos
|
|
rmdir ~/$i
|
|
ln -s $D/$i ~/$i
|
|
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="/mnt/LocalDiskD/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
|
|
|