From b93dfe71c084a284f4dfb0e4d2ad43e8c0b08dff Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 29 Jul 2018 12:35:01 -0400 Subject: [PATCH] ~/.profile replaces ~/.bash_profile. --- .profile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .profile 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