voidrice/.profile

22 lines
436 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"
2018-08-02 01:58:53 +00:00
mpd &
[[ -f ~/.scripts/shortcuts.sh ]] && ~/.scripts/shortcuts.sh
[[ -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