93 lines
4.1 KiB
Cheetah
93 lines
4.1 KiB
Cheetah
#--------------------#
|
|
# XDG Overrides
|
|
#--------------------#
|
|
|
|
XDG_CONFIG_HOME DEFAULT=@{HOME}/.config
|
|
XDG_CACHE_HOME DEFAULT=@{HOME}/.cache
|
|
XDG_DATA_HOME DEFAULT=@{HOME}/.local/share
|
|
XDG_RUNTIME_DIR DEFAULT=/run/user/1000
|
|
|
|
{{- if eq .chezmoi.hostname "petrucci4prez" }}
|
|
AQBANKING_HOME DEFAULT=${XDG_CONFIG_HOME}/aqbanking
|
|
ANSIBLE_VAULT_PASSWORD_FILE DEFAULT=@{HOME}/.bin/ansible-vault-pass-client
|
|
ANSIBLE_VAULT_IDENTITY DEFAULT=ansible/vault
|
|
ASPELL_CONF DEFAULT="per-conf ${XDG_CONFIG_HOME}/aspell/aspell.conf; personal ${XDG_CONFIG_HOME}/aspell/en.pws; repl ${XDG_CONFIG_HOME}/aspell/en.prepl"
|
|
|
|
AWS_SHARED_CREDENTIALS_FILE DEFAULT=${XDG_CONFIG_HOME}/aws/credentials
|
|
AWS_CONFIG_FILE DEFAULT=${XDG_CONFIG_HOME}/aws/config
|
|
|
|
BUNDLE_USER_CONFIG DEFAULT=${XDG_CONFIG_HOME}/bundle
|
|
BUNDLE_USER_CACHE DEFAULT=${XDG_CACHE_HOME}/bundle
|
|
BUNDLE_USER_PLUGIN DEFAULT=${XDG_DATA_HOME}/bundle
|
|
CARGO_HOME DEFAULT=${XDG_DATA_HOME}/cargo
|
|
CCACHE_CONFIGPATH DEFAULT=${XDG_CONFIG_HOME}/ccache.config
|
|
CCACHE_DIR DEFAULT=${XDG_CACHE_HOME}/ccache
|
|
CCNET_CONF_DIR DEFAULT=${XDG_CONFIG_HOME}/ccnet
|
|
CONDARC DEFAULT=${XDG_CONFIG_HOME}/conda/condarc
|
|
|
|
# NOTE: in order for rootless docker to work on BTRFS, need the
|
|
# user_subvol_rm_allowed mount option on the host filesystem
|
|
|
|
DOCKER_HOST DEFAULT=unix://${XDG_RUNTIME_DIR}/docker.sock
|
|
GEM_HOME DEFAULT=${XDG_DATA_HOME}/gem
|
|
GEM_SPEC_CACHE DEFAULT=${XDG_CACHE_HOME}/gem
|
|
GRIPHOME DEFAULT=${XDG_CONFIG_HOME}/grip
|
|
GTK2_RC_FILES DEFAULT=${XDG_CONFIG_HOME}/gtk-2.0/gtkrc
|
|
IPYTHONDIR DEFAULT=${XDG_CONFIG_HOME}/ipython
|
|
LEIN_HOME DEFAULT=${XDG_DATA_HOME}/lein
|
|
MATLAB_PREFDIR DEFAULT=${XDG_CONFIG_HOME}/matlab
|
|
MATLAB_LOG_DIR DEFAULT=${XDG_DATA_HOME}/matlab/log
|
|
MU_HOME DEFAULT=${XDG_CACHE_HOME}/mu
|
|
MAILDIR DEFAULT=/mnt/data/Mail
|
|
PAGER DEFAULT=less
|
|
PYLINTHOME DEFAULT=${XDG_CACHE_HOME}/pylint
|
|
PYENV_ROOT DEFAULT=${XDG_DATA_HOME}/pyenv
|
|
R_ENVIRON_USER DEFAULT=${XDG_CONFIG_HOME}/r/Renviron
|
|
RBENV_ROOT DEFAULT=${XDG_DATA_HOME}/rbenv
|
|
STACK_ROOT DEFAULT=${XDG_DATA_HOME}/stack
|
|
TEXMFHOME DEFAULT=${XDG_CONFIG_HOME}/texmf
|
|
RXVT_SOCKET DEFAULT=${XDG_RUNTIME_DIR}/urxvt/urxvtd-node
|
|
XINITRC DEFAULT=${XDG_CONFIG_HOME}/X11/xinitrc
|
|
XMONAD_CACHE_DIR DEFAULT=${XDG_CACHE_HOME}/xmonad
|
|
XMONAD_CONFIG_DIR DEFAULT=${XDG_CONFIG_HOME}/xmonad
|
|
XMONAD_DATA_DIR DEFAULT=${XDG_DATA_HOME}/xmonad
|
|
{{- end }}
|
|
|
|
INPUTRC DEFAULT=${XDG_CONFIG_HOME}/readline/inputrc
|
|
NODE_REPL_HISTORY DEFAULT=${XDG_DATA_HOME}/npm/node_repl.log
|
|
PYTHONSTARTUP DEFAULT=${XDG_CONFIG_HOME}/python/startup.py
|
|
LESSKEY DEFAULT=${XDG_CONFIG_HOME}/less/lesskey
|
|
LESSHISTFILE DEFAULT=-
|
|
HISTFILE DEFAULT=${XDG_DATA_HOME}/zsh_history.log
|
|
HISTSIZE DEFAULT=1000000
|
|
SAVEHIST DEFAULT=1000000
|
|
ICEAUTHORITY DEFAULT=${XDG_CACHE_DIR}/ICEauthority
|
|
XAUTHORITY DEFAULT=${XDG_RUNTIME_DIR}/Xauthority
|
|
ZDOTDIR DEFAULT=${XDG_CONFIG_HOME}/zsh
|
|
|
|
# store passwords in gnupg directory (and then encrypt the entire thing with veracrypt)
|
|
GNUPGHOME DEFAULT=${XDG_CONFIG_HOME}/gnupg
|
|
PASSWORD_STORE_DIR DEFAULT=${GNUPGHOME}/pass
|
|
|
|
#--------------------#
|
|
# Path
|
|
#--------------------#
|
|
|
|
PATH OVERRIDE={{- if eq .chezmoi.hostname "petrucci4prez" }}${RBENV_ROOT}/shims:${PYENV_ROOT}/shims:{{- end }}@{HOME}/.bin:@{HOME}/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin
|
|
|
|
#--------------------#
|
|
# Applications
|
|
#--------------------#
|
|
EDITOR DEFAULT=vim
|
|
|
|
{{- if eq .chezmoi.hostname "petrucci4prez" }}
|
|
GDK_USE_XFT DEFAULT=1
|
|
QT_XFT DEFAULT=true
|
|
SAL_USE_VCLPLUGIN DEFAULT=gtk
|
|
QT_QPA_PLATFORMTHEME DEFAULT=qt5ct
|
|
|
|
# this is needed to make MATLAB work with
|
|
# xmonad and other godly window managers
|
|
_JAVA_AWT_WM_NONREPARENTING DEFAULT=1
|
|
{{- end }}
|