From 078f235b5f80d08118a6414bac76749e95c6bed7 Mon Sep 17 00:00:00 2001 From: "Daniel M. Capella" Date: Tue, 14 May 2024 17:34:19 -0400 Subject: [PATCH] zsh: Update to current "Autostart X at login" snippet https://wiki.archlinux.org/index.php?title=Xinit&diff=next&oldid=793842 --- workstation/.zprofile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workstation/.zprofile b/workstation/.zprofile index 4ba6f3a..aaa1257 100644 --- a/workstation/.zprofile +++ b/workstation/.zprofile @@ -1,3 +1,3 @@ -if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then +if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then exec startx fi