From a72e72376707b8b6b936b14333d5dae63249195f Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Fri, 24 May 2024 08:22:45 +0200 Subject: [PATCH] user-dirs --- .config/user-dirs.dirs | 15 +++++++++++++++ .gitignore | 1 + .zshrc | 1 + 3 files changed, 17 insertions(+) create mode 100644 .config/user-dirs.dirs diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs new file mode 100644 index 0000000..745dc04 --- /dev/null +++ b/.config/user-dirs.dirs @@ -0,0 +1,15 @@ +# This file is written by xdg-user-dirs-update +# If you want to change or add directories, just edit the line you're +# interested in. All local changes will be retained on the next run. +# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped +# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an +# absolute path. No other format is supported. +# +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/.gitignore b/.gitignore index a4c004f..2ff0e3c 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,7 @@ !.terminfo !.terminfo/** !.config/shortkuts.kksrc +!.config/user-dirs.dirs # except except .config/btop/btop.log diff --git a/.zshrc b/.zshrc index c5c7112..08cad67 100644 --- a/.zshrc +++ b/.zshrc @@ -1,5 +1,6 @@ ### ENVVARS source "$HOME/.zprofile" +source "$HOME/.config/user-dirs.dirs" export TIMEFMT=$'\nreal\t%E\nuser\t%U\nsys\t%S\ncpu\t%P' export ZSH=$HOME/.zsh export CLIPBOARD_NOGUI=0 # wayland only allows GUI apps to use the clipboard.