user-dirs

This commit is contained in:
Christoph J. Scherr 2024-05-24 08:22:45 +02:00
parent 96bea3fc03
commit a72e723767
3 changed files with 17 additions and 0 deletions

15
.config/user-dirs.dirs Normal file
View File

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

1
.gitignore vendored
View File

@ -28,6 +28,7 @@
!.terminfo
!.terminfo/**
!.config/shortkuts.kksrc
!.config/user-dirs.dirs
# except except
.config/btop/btop.log

1
.zshrc
View File

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