Added xdg-user-dirs.

This commit is contained in:
Josh W 2024-10-03 15:17:53 -04:00
parent a5e3caa001
commit f410b64b41
3 changed files with 26 additions and 0 deletions

View file

@ -105,3 +105,20 @@ None.
``` ```
$ cp -r wireplumber ~/.config/. $ 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
```

View file

@ -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"

View file

@ -0,0 +1 @@
en_US