Add several XDG settings
This commit is contained in:
parent
643d88e892
commit
e551eac1d1
40
general/.env
40
general/.env
@ -1,2 +1,42 @@
|
|||||||
export DROPBOX_DIR="$HOME/Dropbox"
|
export DROPBOX_DIR="$HOME/Dropbox"
|
||||||
export PATH="$PATH:$HOME/.scripts"
|
export PATH="$PATH:$HOME/.scripts"
|
||||||
|
|
||||||
|
export NNN_PLUG='f:finder;b:bookmarks;v:imgview'
|
||||||
|
export BOOKMARKS_DIR="$HOME/.config/nnn/bookmarks"
|
||||||
|
|
||||||
|
export EDITOR="nvim"
|
||||||
|
export TERMINAL="alacritty"
|
||||||
|
export BROWSER="google-chrome-stable"
|
||||||
|
|
||||||
|
# XDG Settings
|
||||||
|
|
||||||
|
export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
|
export XDG_CACHE_HOME="$HOME/.cache"
|
||||||
|
export XDG_DATA_HOME="$HOME/.local/share"
|
||||||
|
|
||||||
|
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
||||||
|
# export VIMINIT='let $MYVIMRC = !has("nvim") ? "$XDG_CONFIG_HOME/vim/vimrc" : "$XDG_CONFIG_HOME/nvim/init.lua" | so $MYVIMRC'
|
||||||
|
export TEXMFHOME=$XDG_DATA_HOME/texmf
|
||||||
|
export TEXMFVAR=$XDG_CACHE_HOME/texlive/texmf-var
|
||||||
|
export WGETRC="$XDG_CONFIG_HOME/wgetrc"
|
||||||
|
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
|
||||||
|
export KODI_DATA="$XDG_DATA_HOME/kodi"
|
||||||
|
export CABAL_CONFIG="$XDG_CONFIG_HOME"/cabal/config
|
||||||
|
export CABAL_DIR="$XDG_CACHE_HOME"/cabal
|
||||||
|
export STACK_ROOT="$XDG_DATA_HOME"/stack
|
||||||
|
export CARGO_HOME="$XDG_DATA_HOME"/cargo
|
||||||
|
export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages
|
||||||
|
export AZURE_CONFIG_DIR=$XDG_DATA_HOME/azure
|
||||||
|
export TEXMFHOME=$XDG_DATA_HOME/texmf
|
||||||
|
export TEXMFVAR=$XDG_CACHE_HOME/texlive/texmf-var
|
||||||
|
export TEXMFCONFIG=$XDG_CONFIG_HOME/texlive/texmf-config
|
||||||
|
# export VSCODE_PORTABLE="$XDG_DATA_HOME"/vscode
|
||||||
|
# Might not work for all DMs. Does not work for LightDM
|
||||||
|
# export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
|
||||||
|
USERXSESSION="$XDG_CACHE_HOME/X11/xsession"
|
||||||
|
USERXSESSIONRC="$XDG_CACHE_HOME/X11/xsessionrc"
|
||||||
|
ALTUSERXSESSION="$XDG_CACHE_HOME/X11/Xsession"
|
||||||
|
ERRFILE="$XDG_CACHE_HOME/X11/xsession-errors"
|
||||||
|
|
||||||
|
alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
|
||||||
|
alias yarn='yarn --use-yarnrc "$XDG_CONFIG_HOME/yarn/config"'
|
||||||
|
Loading…
Reference in New Issue
Block a user