2021-02-15 20:53:16 -05:00
#-------------------- #
# 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
2021-06-10 23:12:27 -04:00
{{- if eq .chezmoi.hostname "petrucci4prez" }}
2021-02-15 20:53:16 -05:00
AQBANKING_HOME DEFAULT= ${ XDG_CONFIG_HOME } /aqbanking
2021-06-10 22:57:43 -04:00
ANSIBLE_VAULT_PASSWORD_FILE DEFAULT=@{HOME}/.bin/ansible-vault-pass-client
ANSIBLE_VAULT_IDENTITY DEFAULT=ansible/vault
2021-02-15 20:53:16 -05:00
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"
CCACHE_CONFIGPATH DEFAULT= ${ XDG_CONFIG_HOME } /ccache.config
CCACHE_DIR DEFAULT= ${ XDG_CACHE_HOME } /ccache
CCNET_CONF_DIR DEFAULT= ${ XDG_CONFIG_HOME } /ccnet
# 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
2021-04-25 14:38:15 -04:00
GEM_HOME DEFAULT= ${ XDG_DATA_HOME } /gem
GEM_SPEC_CACHE DEFAULT= ${ XDG_CACHE_HOME } /gem
2021-02-15 20:53:16 -05:00
GRIPHOME DEFAULT= ${ XDG_CONFIG_HOME } /grip
GTK2_RC_FILES DEFAULT= ${ XDG_CONFIG_HOME } /gtk-2.0/gtkrc
IPYTHONDIR DEFAULT= ${ XDG_CONFIG_HOME } /ipython
2021-03-08 18:04:13 -05:00
LEIN_HOME DEFAULT= ${ XDG_DATA_HOME } /lein
2021-02-15 20:53:16 -05:00
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
2021-05-08 15:06:29 -04:00
PAGER DEFAULT=less
2021-06-10 23:12:27 -04:00
PYLINTHOME DEFAULT= ${ XDG_CACHE_HOME } /pylint
2021-02-15 20:53:16 -05:00
PYENV_ROOT DEFAULT= ${ XDG_DATA_HOME } /pyenv
R_ENVIRON_USER DEFAULT= ${ XDG_CONFIG_HOME } /r/Renviron
RBENV_ROOT DEFAULT= ${ XDG_DATA_HOME } /rbenv
2021-06-10 23:12:27 -04:00
STACK_ROOT DEFAULT= ${ XDG_DATA_HOME } /stack
2021-02-15 20:53:16 -05:00
TEXMFHOME DEFAULT= ${ XDG_CONFIG_HOME } /texmf
RXVT_SOCKET DEFAULT= ${ XDG_RUNTIME_DIR } /urxvt/urxvtd-node
ICEAUTHORITY DEFAULT= ${ XDG_CACHE_DIR } /ICEauthority
XAUTHORITY DEFAULT= ${ XDG_RUNTIME_DIR } /Xauthority
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
2021-06-10 23:12:27 -04:00
{{- 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=-
2021-02-15 20:53:16 -05:00
HISTFILE DEFAULT= ${ XDG_DATA_HOME } /zsh_history.log
HISTSIZE DEFAULT=1000000
SAVEHIST DEFAULT=1000000
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
#-------------------- #
2021-06-10 23:12:27 -04:00
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
2021-02-15 20:53:16 -05:00
#-------------------- #
# Applications
#-------------------- #
EDITOR DEFAULT=vim
2021-06-11 00:07:06 -04:00
{{- if eq .chezmoi.hostname "petrucci4prez" }}
2021-02-15 20:53:16 -05:00
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
2021-06-11 00:07:06 -04:00
{{- end }}