voidrice/.profile

20 lines
432 B
Text
Raw Normal View History

2018-07-29 16:35:01 +00:00
#!/bin/sh
# Profile file. Runs on login.
export PATH="$PATH:$HOME/.scripts"
export EDITOR="vim"
export TERMINAL="st"
export BROWSER="firefox"
export READER="zathura"
export BIB="$HOME/Documents/LaTeX/uni.bib"
[[ ! -f ~/.shortcuts ]] && ~/.scripts/shortcuts.sh 2>/dev/null
[[ -f ~/.bashrc ]] && . ~/.bashrc
2018-07-29 16:35:01 +00:00
# Start graphical server if i3 not already running.
if [[ "$(tty)" = "/dev/tty1" ]]; then
pgrep -x i3 || exec startx
fi