dotfiles/.bash_profile

42 lines
1.1 KiB
Bash

#
# ~/.bash_profile
#
[[ -f ~/.extend.bash_profile ]] && . ~/.extend.bash_profile
[[ -f ~/.bashrc ]] && . ~/.bashrc
export VISUAL=vim
export EDITOR=vim
export PAGER=less
export PATH=~/.local/bin:$PATH
export HASTE_SERVER="https://haste.breizh.pm"
export MPD_HOST="$HOME/.mpd/socket"
export KRESUS_PYTHON_EXEC=python
export MAGICK_TMPDIR="$HOME/.cache/ImageMagick/"
export HIGHLIGHT_STYLE="base16/eighties"
export LESS_TERMCAP_mb=$(tput blink)
export LESS_TERMCAP_md=$(tput bold)
export LESS_TERMCAP_me=$(tput sgr0)
export LESS_TERMCAP_so=$(tput smso)
export LESS_TERMCAP_se=$(tput rmso)
export LESS_TERMCAP_us=$(tput sitm)
export LESS_TERMCAP_ue=$(tput sgr0)
eval $(ssh-agent -s)
if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
export XDG_CURRENT_DESKTOP=i3
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
export QT_QPA_PLATFORMTHEME=qt5ct
export BROWSER="firefox"
export TERMINAL=urxvtc
export DMENU_OPTIONS="-nb #2d2d2d -nf #747369 -sb #6699cc -sf #2d2d2d"
startx
logout
elif [ "$XDG_VTNR" -ne 6 ]; then
export BROWSER=elinks
fish
logout
fi