2021-10-21 17:44:21 -04:00
|
|
|
#!/bin/sh
|
2021-04-13 22:07:45 -04:00
|
|
|
|
2021-10-02 11:21:15 -04:00
|
|
|
# Set XDG directories
|
2021-04-13 22:07:45 -04:00
|
|
|
export XDG_CONFIG_HOME="$HOME"/.config
|
|
|
|
export XDG_CACHE_HOME="$HOME"/.cache
|
|
|
|
export XDG_DATA_HOME="$HOME"/.local/share
|
2022-10-07 19:42:19 -04:00
|
|
|
export XDG_DOWNLOAD_DIR="$HOME"/quar/
|
2021-04-13 22:07:45 -04:00
|
|
|
|
2021-10-02 11:21:15 -04:00
|
|
|
# Clean up home directory dotfiles
|
|
|
|
|
|
|
|
# XAuthority
|
2021-04-13 22:07:45 -04:00
|
|
|
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
|
2021-10-02 11:21:15 -04:00
|
|
|
# GTK2
|
2021-04-13 22:07:45 -04:00
|
|
|
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
2021-10-02 11:21:15 -04:00
|
|
|
# zsh
|
2021-04-13 22:07:45 -04:00
|
|
|
export ZDOTDIR="$HOME"/.config/zsh
|
|
|
|
export HISTFILE="$XDG_DATA_HOME"/zsh/history
|
2021-10-02 11:21:15 -04:00
|
|
|
# less
|
2021-04-13 22:07:45 -04:00
|
|
|
export LESSHISTFILE=-
|
2021-10-02 11:21:15 -04:00
|
|
|
# gpg
|
2021-04-13 22:07:45 -04:00
|
|
|
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
|
2021-10-02 11:21:15 -04:00
|
|
|
# pass
|
2021-04-13 22:07:45 -04:00
|
|
|
export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
|
2021-10-02 11:21:15 -04:00
|
|
|
# tuir
|
2023-04-09 12:45:26 -04:00
|
|
|
export MAILCAPS="$XDG_CONFIG_HOME"/mailcap
|
2021-10-02 11:21:15 -04:00
|
|
|
# terminfo
|
|
|
|
export TERMINFO="$XDG_DATA_HOME"/terminfo
|
|
|
|
export TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo
|
2022-07-20 19:36:02 -04:00
|
|
|
# go
|
|
|
|
export GOPATH="$HOME"/.local/go
|
2023-01-03 13:40:35 -05:00
|
|
|
# npm
|
|
|
|
export npm_config_userconfig=$XDG_CONFIG_HOME/npm/config
|
|
|
|
export npm_config_cache=$XDG_CACHE_HOME/npm
|
|
|
|
export npm_config_prefix=$XDG_DATA_HOME/npm
|
2023-04-02 18:40:47 -04:00
|
|
|
|
2023-02-09 18:14:26 -05:00
|
|
|
# minrss scripts
|
|
|
|
export MRSS_DIR="$HOME/dox/rss"
|
2021-10-02 11:21:15 -04:00
|
|
|
|
2023-04-02 18:40:47 -04:00
|
|
|
# reminder script
|
|
|
|
export REM_FILE="$HOME/dox/not/rem"
|
|
|
|
|
2022-05-10 21:40:05 -04:00
|
|
|
# Set default programs
|
2021-10-02 11:21:15 -04:00
|
|
|
export EDITOR="nvim"
|
2022-05-10 21:40:05 -04:00
|
|
|
export BROWSER="qutebrowser"
|
2022-08-01 19:24:50 -04:00
|
|
|
# man pager
|
|
|
|
export MANPAGER='nvim +Man!'
|
2022-11-12 20:26:14 -05:00
|
|
|
export MANWIDTH=165
|
2021-10-02 11:21:15 -04:00
|
|
|
|
2022-10-07 19:42:19 -04:00
|
|
|
# Soundboard
|
|
|
|
export SB_DIR="$HOME"/med/sb
|
2022-10-01 18:58:01 -04:00
|
|
|
export SXHKD_SHELL='/bin/sh'
|
|
|
|
|
2021-10-02 11:21:15 -04:00
|
|
|
# Variables for passphrase2pgp
|
2021-10-08 18:27:09 -04:00
|
|
|
export REALNAME="dogeystamp"
|
2021-10-02 11:21:15 -04:00
|
|
|
export EMAIL="dogeystamp@disroot.org"
|
2021-10-08 18:27:09 -04:00
|
|
|
export KEYID="A3A5FA72F8E5E54FBEE425057225FE3592EFFA38"
|
2021-10-21 17:44:21 -04:00
|
|
|
|
2023-03-05 12:49:00 -05:00
|
|
|
export KEEPASSDB="$HOME"/dox/sec/pass.kdbx
|
|
|
|
# Identity (see ~/.local/bin/identity.sh)
|
|
|
|
if [ -r "$XDG_CONFIG_HOME"/identity ]; then
|
|
|
|
source "$XDG_CONFIG_HOME"/identity
|
|
|
|
fi
|
|
|
|
|
2021-10-21 17:44:21 -04:00
|
|
|
source .config/bashrc
|