add .zprofile to start x.org
authorAndrew Lorimer <andrew@lorimer.id.au>
Wed, 8 Aug 2018 08:09:46 +0000 (18:09 +1000)
committerAndrew Lorimer <andrew@lorimer.id.au>
Wed, 8 Aug 2018 08:09:46 +0000 (18:09 +1000)
zsh/.zprofile [new file with mode: 0644]
diff --git a/zsh/.zprofile b/zsh/.zprofile
new file mode 100644 (file)
index 0000000..87fee1f
--- /dev/null
@@ -0,0 +1,9 @@
+#
+# ~/.bash_profile
+#
+
+[[ -f ~/.bashrc ]] && . ~/.bashrc
+
+if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
+       exec startx
+fi