dotfiles/.bash_profile

36 lines
900 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
# Passe -P -i à groff, pour passer -i à grotty pour afficher du vrai italique
export MANROFFOPT="-P -i"
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
2024-02-08 12:09:26 +01:00
export BROWSER="systemd-run --user --scope -p MemoryMax=3G firefox"
2022-02-26 22:34:40 +01:00
export TERMINAL=urxvtc
export XDG_CURRENT_DESKTOP=i3
# exec sway -d 2> $HOME/.sway.log
exec startx
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