18 lines
368 B
Text
18 lines
368 B
Text
|
#!/bin/sh
|
||
|
|
||
|
# Profile file. Runs on login.
|
||
|
|
||
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||
|
|
||
|
export PATH="$PATH:$HOME/.scripts"
|
||
|
export EDITOR="vim"
|
||
|
export TERMINAL="st"
|
||
|
export BROWSER="firefox"
|
||
|
export READER="zathura"
|
||
|
export BIB="$HOME/Documents/LaTeX/uni.bib"
|
||
|
|
||
|
# Start graphical server if i3 not already running.
|
||
|
if [[ "$(tty)" = "/dev/tty1" ]]; then
|
||
|
pgrep -x i3 || exec startx
|
||
|
fi
|