From fe58a8b35b4f29819cbb52f6cc1ce7fe3b37a02e Mon Sep 17 00:00:00 2001 From: Josh Wolfe Date: Thu, 28 Dec 2017 10:49:37 -0500 Subject: [PATCH] Automatically start X11 in tty1 on login --- zsh/.zprofile | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 zsh/.zprofile diff --git a/zsh/.zprofile b/zsh/.zprofile new file mode 100644 index 0000000..7ab1ecd --- /dev/null +++ b/zsh/.zprofile @@ -0,0 +1,3 @@ +if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then + exec startx +fi