diff options
Diffstat (limited to 'stow/rcs/.bash_vars')
-rw-r--r-- | stow/rcs/.bash_vars | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/stow/rcs/.bash_vars b/stow/rcs/.bash_vars new file mode 100644 index 0000000..7dc9b53 --- /dev/null +++ b/stow/rcs/.bash_vars @@ -0,0 +1,87 @@ +# $HOME/.bash_vars: Non-standard file for environment variables agruppation. + +########### +# General # +########### + +export XDG_CONFIG_HOME="$HOME/.config" + +export EDITOR="nvim" +export TERM="rxvt-256color" +export TERMINAL="urxvt" +export BROWSER="qutebrowser" +export READER="zathura" +export VIEWER="sxiv" + +export PLANTUML="$HOME/programs/plantUML/plantuml.jar" + +export LEDGER_FILE="$HOME/docs/ledger.dat" + +export CONFIG_VOL_CHANGE="2" +export CONFIG_BIG_VOL_CHANGE="10" + +export CONFIG_BRIGHT_CHANGE="4" +export CONFIG_BIG_BRIGHT_CHANGE="60" + +export CONFIG_DIC_ES="/usr/share/dict/spanish" +export CONFIG_DIC_EN="/usr/share/dict/british" +export CONFIG_DIC_PL="/usr/share/dict/słowa.txt" + +export CONFIG_FOLDER_RANDOMBG="$HOME/images/wallpapers/shufs/current" +export CONFIG_FOLDER_LOGS="$HOME/logs" + +export CONFIG_WIFI_DEV="wlp2s0" +export CONFIG_ETH_DEV="" + +export CONFIG_BATTERY="BAT1" +export CONFIG_SENSORS_TEMP_REGEX="^Package" +export CONFIG_SENSORS_TEMP_COL="4" + +export CONFIG_FOLDER_DISROOT_INBOX="$HOME/.mail/disroot/INBOX/new" +export CONFIG_FOLDER_GMAIL_INBOX="$HOME/.mail/gmail/[Gmail]/INBOX/new" +export CONFIG_FOLDER_UNIOVI_INBOX="$HOME/.mail/uniovi/INBOX/new" + +# export ARDUINO_DIR="/usr/share/arduino" +# export ARDMK_DIR="/usr/share/arduino" +# export AVR_TOOLS_DIR="/usr" + +# Colors for grep +export GREP_COLORS='ms=04;32;49:mc=04;32;49:sl=:cx=:fn=01;34;49:ln=34:bn=34:se=36' + +# Colors for gcc +export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' + +# Colors for less +export LESS_TERMCAP_mb=$'\E[01;31m' +export LESS_TERMCAP_md=$(tput bold; tput setaf 14) +export LESS_TERMCAP_me=$'\E[0m' +export LESS_TERMCAP_so=$(tput setab 2; tput setaf 0) +export LESS_TERMCAP_se=$'\E[0m' +export LESS_TERMCAP_us=$(tput smul; tput setaf 3) +export LESS_TERMCAP_ue=$'\E[0m' + +######### +# $PATH # +######### + +# java +export JAVA_HOME="/usr/lib/jvm/default/" +PATH="${PATH}:${JAVA_HOME}/bin" + +# add scripts folder to path plus its direct subfolders +for dir in $(find "$HOME/scripts" -type d | grep -v '/\.'); do + PATH="${PATH}:${dir}" +done + +# add ruby bins (gems) folder to path +PATH="${PATH}:$(ruby -e 'puts Gem.user_dir')/bin" + +# add cargo bins folder to path +PATH="${PATH}:${HOME}/.cargo/bin" + +# add pip local bins to path +PATH="${PATH}:${HOME}/.local/bin" + +# export final PATH +export PATH + |