added option to run X in current TTY
parent
4327bd6cf2
commit
97afbbf072
@ -1,5 +1,5 @@
|
||||
if [[ "$(tty)" == /dev/tty1 ]]; then
|
||||
if [[ "$(tty)" == /dev/tty* ]]; then
|
||||
[[ -n "$CDM_SPAWN" ]] && return
|
||||
[[ -z "$DISPLAY$SSH_TTY$(pgrep xinit)" ]] && exec cdm
|
||||
[[ -z "$DISPLAY$SSH_TTY" ]] && exec cdm
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue