summaryrefslogtreecommitdiff
path: root/sh/.profile
diff options
context:
space:
mode:
Diffstat (limited to 'sh/.profile')
-rw-r--r--sh/.profile9
1 files changed, 9 insertions, 0 deletions
diff --git a/sh/.profile b/sh/.profile
new file mode 100644
index 0000000..399a6ba
--- /dev/null
+++ b/sh/.profile
@@ -0,0 +1,9 @@
+if [ -f "${HOME}/.config/sh/environment.sh" ]
+then
+ . "${HOME}/.config/sh/environment.sh"
+fi
+
+if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]
+then
+ exec startx
+fi