summaryrefslogtreecommitdiff
path: root/system/tbsm/README
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2020-04-02 08:27:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-02 08:27:24 +0700
commit50a0bad2997df44ba1c0285ac0296dc12bd04f07 (patch)
tree193ac964b3dd1d7b6060f7b31fec54232b852c09 /system/tbsm/README
parent37b91e23aedb710982426df7f40ce89583edb682 (diff)
downloadslackbuilds-50a0bad2997df44ba1c0285ac0296dc12bd04f07.tar.gz
system/tbsm: Update README.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/tbsm/README')
-rw-r--r--system/tbsm/README2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/tbsm/README b/system/tbsm/README
index 6d7a8b7a0f..9edd04a5af 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