Added xdg-user-dirs.
This commit is contained in:
parent
a5e3caa001
commit
f410b64b41
3 changed files with 26 additions and 0 deletions
|
@ -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
|
||||||
|
```
|
||||||
|
|
8
dotfiles/xdg-user-dirs/user-dirs.dirs
Normal file
8
dotfiles/xdg-user-dirs/user-dirs.dirs
Normal 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"
|
1
dotfiles/xdg-user-dirs/user-dirs.locale
Normal file
1
dotfiles/xdg-user-dirs/user-dirs.locale
Normal file
|
@ -0,0 +1 @@
|
||||||
|
en_US
|
Loading…
Reference in a new issue