21 lines
436 B
Bash
21 lines
436 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"
|
|
|
|
mpd &
|
|
|
|
[[ -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
|