voidrice/.profile
2018-08-03 16:50:58 -04:00

19 lines
429 B
Bash

#!/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 ~/.scripts/shortcuts.sh ]] && ~/.scripts/shortcuts.sh
[[ -f ~/.bashrc ]] && . ~/.bashrc
# Start graphical server if i3 not already running.
if [[ "$(tty)" = "/dev/tty1" ]]; then
pgrep -x i3 || exec startx
fi