summaryrefslogtreecommitdiffstats
path: root/.profile
diff options
context:
space:
mode:
Diffstat (limited to '.profile')
-rw-r--r--.profile17
1 files changed, 17 insertions, 0 deletions
diff --git a/.profile b/.profile
new file mode 100644
index 0000000..093800e
--- /dev/null
+++ b/.profile
@@ -0,0 +1,17 @@
+#!/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