dotfiles/.bash_profile

34 lines
797 B
Bash
Raw Normal View History

2018-11-30 22:59:02 +01:00
#
# ~/.bash_profile
#
[[ -f ~/.extend.bash_profile ]] && . ~/.extend.bash_profile
[[ -f ~/.bashrc ]] && . ~/.bashrc
export VISUAL=vim
export EDITOR=vim
export PAGER=less
2020-02-05 19:19:49 +01:00
export PATH=~/.local/bin:$PATH
2018-11-30 22:59:02 +01:00
2020-02-05 19:19:49 +01:00
export HASTE_SERVER="https://haste.breizh.pm"
2019-06-13 20:12:29 +02:00
export MPD_HOST="$HOME/.mpd/socket"
2020-01-09 21:17:01 +01:00
export KRESUS_PYTHON_EXEC=python
export MAGICK_TMPDIR="$HOME/.cache/ImageMagick/"
2020-04-18 01:44:01 +02:00
export HIGHLIGHT_STYLE="base16/eighties"
2018-11-30 22:59:02 +01:00
eval $(ssh-agent -s)
if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
2019-07-19 23:11:53 +02:00
export XDG_CURRENT_DESKTOP=i3
2018-11-30 22:59:02 +01:00
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
export QT_QPA_PLATFORMTHEME=qt5ct
2020-09-15 02:45:25 +02:00
export BROWSER="systemd-run --user --scope -p MemoryLimit=2G firefox"
2018-11-30 22:59:02 +01:00
export TERMINAL=urxvtc
startx
logout
2019-04-19 22:18:25 +02:00
elif [ "$XDG_VTNR" -ne 6 ]; then
2018-11-30 22:59:02 +01:00
export BROWSER=elinks
2019-01-21 08:16:41 +01:00
fish
logout
2018-11-30 22:59:02 +01:00
fi