diff options
| author | Tharre <tharre3@gmail.com> | 2017-08-25 19:17:10 +0200 |
|---|---|---|
| committer | Tharre <tharre3@gmail.com> | 2017-08-25 19:17:10 +0200 |
| commit | d3f24ecae44e04f421d651f0970a296a27d8da96 (patch) | |
| tree | 6fb5f9c7711fa5fd70efa98fa5518d3038cf9d3d | |
| parent | accc943fc885d8381d796f26d2800f73022904fc (diff) | |
| download | dotfiles-d3f24ecae44e04f421d651f0970a296a27d8da96.tar.gz dotfiles-d3f24ecae44e04f421d651f0970a296a27d8da96.tar.xz dotfiles-d3f24ecae44e04f421d651f0970a296a27d8da96.zip | |
zsh: add set_xdg_dirs
| -rw-r--r-- | .zshrc | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -125,6 +125,20 @@ function play { -g "$*") --no-video } +function set_xdg_dirs { + xdg-user-dirs-update --set DESKTOP ~/var/desktop + xdg-user-dirs-update --set DOWNLOAD ~/var/downloads + xdg-user-dirs-update --set TEMPLATES ~/var/templates + xdg-user-dirs-update --set PUBLICSHARE ~/share/public + xdg-user-dirs-update --set DOCUMENTS ~/var/documents + xdg-user-dirs-update --set MUSIC ~/media/music + xdg-user-dirs-update --set PICTURES ~/media/pictures + xdg-user-dirs-update --set VIDEOS ~/media/videos + + rmdir ~/Desktop ~/Downloads ~/Templates ~/Public ~/Documents ~/Music \ + ~/Pictures ~/Videos +} + # update function update_dotfiles() { dotfiles="$HOME/dotfiles" |
