From 0e39935aed57625eb7d762515afba757ded1fef9 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 28 Apr 2021 17:07:19 +0530 Subject: .zprofile is now actually error free. everything starts up correctly, I've tested it --- .zprofile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.zprofile b/.zprofile index 9bf46ba..3418020 100644 --- a/.zprofile +++ b/.zprofile @@ -10,9 +10,8 @@ export WM="xmonad" export QT_QPA_PLATFORMTHEME=gtk2 export ZDOTDIR="$HOME/.config/zsh" -/zt/Programs/startpage-server & - -if [[ "$(tty)" = "dev/tty1" ]]; then - startx +if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then + /zt/Programs/startpage-server & + startx fi -- cgit v1.2.3