36 lines
822 B
Bash
36 lines
822 B
Bash
#
|
|
# ~/.bash_profile
|
|
#
|
|
|
|
|
|
[[ -f ~/.extend.bash_profile ]] && . ~/.extend.bash_profile
|
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
|
|
|
export VISUAL=vim
|
|
export EDITOR=vim
|
|
export PAGER=less
|
|
export PATH=~/.gem/ruby/2.5.0/bin:~/.local/bin:$PATH
|
|
|
|
#export LANG=fr_CA.UTF-8
|
|
#export LANGUAGE=fr_CA:fr_FR:fr:en
|
|
export HASTE_SERVER="https://haste.breizh.me"
|
|
export MPD_HOST="$HOME/.mpd/socket"
|
|
|
|
eval $(ssh-agent -s)
|
|
|
|
|
|
if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
|
|
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
|
|
~/.local/bin/vconsole
|
|
play -q "$HOME/Musique/WELCOME BACK.wav" &
|
|
export BROWSER=elinks
|
|
fish
|
|
logout
|
|
fi
|