use new XDG profile

this might be subject to change, due to exessive problems still needing
fixes
This commit is contained in:
2025-06-05 00:23:24 +02:00
parent 5439d4650b
commit e87e65df4f
60 changed files with 63 additions and 16 deletions

View File

@@ -6,10 +6,12 @@
#
# https://specifications.freedesktop.org/basedir-spec/latest/
export XDG_CONFIG_HOME="$HOME/.config" # where user configuration files are stored (default: ~/.config)
export XDG_STATE_HOME="$HOME/.local/state" # state data that should persist between (application) restarts, but not important enough to be stored in XDG_DATA_HOME (default: ~/.local/state)
export XDG_DATA_HOME="$HOME/.local/share" # where user data files are stored (default: ~/.local/share)
export PATH="$HOME/bin:$PATH" # add our bin in front of PATH, making it take precedence
export XDG_CONFIG_HOME="$HOME/etc" # configuration files are stored (default: ~/.config)
export XDG_DATA_HOME="$HOME/usr/share" # data files are stored (default: ~/.local/share)
export XDG_BIN_HOME="$HOME/usr/bin" # binary executable files, not within the specification, but added for consistency
export XDG_STATE_HOME="$HOME/var/lib" # state data that should persist between (application) restarts, but not important enough to be stored in XDG_DATA_HOME (default: ~/.local/state)
export XDG_CACHE_HOME="$HOME/var/cache" # TODO: comment
export PATH="$XDG_BIN_HOME:$PATH" # add our bin in front of PATH, making it take precedence
if which nvim 1>/dev/null; then
export EDITOR=nvim # use neovim as an editor