diff options
Diffstat (limited to 'system/tbsm/README')
-rw-r--r-- | system/tbsm/README | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/tbsm/README b/system/tbsm/README index 6d7a8b7a0fd2f..9edd04a5afe91 100644 --- a/system/tbsm/README +++ b/system/tbsm/README @@ -4,7 +4,7 @@ tdm and krunner. It supports X and Wayland sessions. Autostart tbsm upon login by adding the following to $HOME/.profile: # Autostart tbsm on all TTYs -if [[ ! ${DISPLAY} && ${XDG_VTNR} -le 2 ]]; then +if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec tbsm fi |