dotfiles/.bash_profile

31 lines
754 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 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
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
export QT_QPA_PLATFORMTHEME=qt5ct
2021-09-09 01:46:43 +02:00
export BROWSER="systemd-run --user --scope -p MemoryMax=2G -E MOZ_ENABLE_WAYLAND=1 firefox"
2021-08-12 20:26:12 +02:00
export TERMINAL=footclient
exec sway
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