about summary refs log tree commit diff
path: root/dotfiles/.bash_profile
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.bash_profile')
-rw-r--r--dotfiles/.bash_profile9
1 files changed, 9 insertions, 0 deletions
diff --git a/dotfiles/.bash_profile b/dotfiles/.bash_profile
new file mode 100644
index 0000000..0dc5034
--- /dev/null
+++ b/dotfiles/.bash_profile
@@ -0,0 +1,9 @@
+# ~/.bash_profile
+#
+
+[[ -f ~/.bashrc ]] && . "$HOME/.bashrc"
+
+# StartX
+if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
+    exec startx
+fi