summaryrefslogtreecommitdiff
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
parent37b91e23aedb710982426df7f40ce89583edb682 (diff)
downloadslackbuilds-50a0bad2997df44ba1c0285ac0296dc12bd04f07.tar.gz
system/tbsm: Update README.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/tbsm/README2
-rw-r--r--system/tbsm/README.SLACKWARE6
2 files changed, 4 insertions, 4 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
diff --git a/system/tbsm/README.SLACKWARE b/system/tbsm/README.SLACKWARE
index d80360d4df..2a04e39c6a 100644
--- a/system/tbsm/README.SLACKWARE
+++ b/system/tbsm/README.SLACKWARE
@@ -1,6 +1,6 @@
-tbsm may run desktop sessions, such as dwm, without consolekit and dbus
+tbsm may run desktop sessions, such as i3, without consolekit and dbus
support. Thus, given that tbsm detects available .desktop files from
/usr/share/xsessions, create a copy of the .desktop file and modify
the Name and Exec lines as such:
-Name=dwm-dbus
-Exec=ck-launch-session dbus-launch --sh-syntax --exit-with-session dwm
+Name=i3-dbus
+Exec=ck-launch-session dbus-launch --sh-syntax --exit-with-session i3