aboutsummaryrefslogtreecommitdiff
path: root/dot_profile
diff options
context:
space:
mode:
Diffstat (limited to 'dot_profile')
-rw-r--r--dot_profile25
1 files changed, 25 insertions, 0 deletions
diff --git a/dot_profile b/dot_profile
new file mode 100644
index 0000000..53608b0
--- /dev/null
+++ b/dot_profile
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+# Profile file. Runs on login. Environmental variables are set here.
+
+export PATH="$PATH:$HOME/.local/bin:$HOME/py:$HOME/.local/usr/local/bin:$HOME/.local/usr/bin"
+export XBPS_DISTDIR="$HOME/workbench/void-packages"
+
+# Default programs:
+export EDITOR="nvim"
+export TERMINAL="xterm"
+export BROWSER="firefox"
+export READER="zathura"
+export FILE="ranger"
+
+# ~/ Clean-up:
+export LESSHISTFILE="-"
+
+export BAT_THEME="Dracula"
+
+[ ! -f ~/.config/shortcutrc ] && shortcuts >/dev/null 2>&1
+
+echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && source "$HOME/.bashrc"
+
+# Start graphical server if i3 not already running.
+[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx