From bf5e905388e389804d8525ee8d106916608a2e53 Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Wed, 25 Dec 2019 12:42:38 -0500 Subject: [PATCH] Startx for laptop --- .zprofile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.zprofile b/.zprofile index cbe5da7..7577b74 100644 --- a/.zprofile +++ b/.zprofile @@ -1 +1,7 @@ sh ~/.config/scripts/install.sh -nr + +if [[ $computer == 'w530' ]]; then + if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then + exec startx + fi +fi