Skip to content

Commit d83f84c

Browse files
committed
[fix] : ReFixed 8dd36dc
1 parent 8dd36dc commit d83f84c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
if [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then
1+
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then
22
exec startx
33
fi
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
if [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then
1+
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then
22
exec startx
33
fi
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
if [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then
1+
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then
22
exec startx
33
fi

0 commit comments

Comments
 (0)