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"
|
|
|
|
|
2018-08-04 23:55:44 +00:00
|
|
|
. ~/.scripts/shortcuts.sh 2>/dev/null
|
2018-08-01 05:03:31 +00:00
|
|
|
|
2018-07-31 19:34:17 +00:00
|
|
|
[[ -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
|