diff --git a/dotfiles/README.md b/dotfiles/README.md index 485169c..d94436b 100644 --- a/dotfiles/README.md +++ b/dotfiles/README.md @@ -105,3 +105,20 @@ None. ``` $ cp -r wireplumber ~/.config/. ``` + +## xdg-user-dirs + +Like everything use Unix-like, I prefer my home folders all-lowercased. + +### Requirements + +- [xdg-user-dirs](https://wiki.archlinux.org/title/XDG_user_directories) + +### Setup + +``` +$ cp xdg-user-dirs/* ~/.config/. +$ cd ~ +$ mkdir desktop documents downloads music pictures public templates videos +$ xdg-user-dirs-update +``` diff --git a/dotfiles/xdg-user-dirs/user-dirs.dirs b/dotfiles/xdg-user-dirs/user-dirs.dirs new file mode 100644 index 0000000..99266f4 --- /dev/null +++ b/dotfiles/xdg-user-dirs/user-dirs.dirs @@ -0,0 +1,8 @@ +XDG_DESKTOP_DIR="$HOME/desktop" +XDG_DOWNLOAD_DIR="$HOME/downloads" +XDG_TEMPLATES_DIR="$HOME/templates" +XDG_PUBLICSHARE_DIR="$HOME/public" +XDG_DOCUMENTS_DIR="$HOME/documents" +XDG_MUSIC_DIR="$HOME/music" +XDG_PICTURES_DIR="$HOME/pictures" +XDG_VIDEOS_DIR="$HOME/videos" diff --git a/dotfiles/xdg-user-dirs/user-dirs.locale b/dotfiles/xdg-user-dirs/user-dirs.locale new file mode 100644 index 0000000..7741b83 --- /dev/null +++ b/dotfiles/xdg-user-dirs/user-dirs.locale @@ -0,0 +1 @@ +en_US