From f410b64b4139147ad98acc986b3175708b6e6f47 Mon Sep 17 00:00:00 2001 From: Josh Washburne Date: Thu, 3 Oct 2024 15:17:53 -0400 Subject: [PATCH] Added xdg-user-dirs. --- dotfiles/README.md | 17 +++++++++++++++++ dotfiles/xdg-user-dirs/user-dirs.dirs | 8 ++++++++ dotfiles/xdg-user-dirs/user-dirs.locale | 1 + 3 files changed, 26 insertions(+) create mode 100644 dotfiles/xdg-user-dirs/user-dirs.dirs create mode 100644 dotfiles/xdg-user-dirs/user-dirs.locale 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