path: root/system/tbsm
diff options
Diffstat (limited to 'system/tbsm')
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
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:
-Exec=ck-launch-session dbus-launch --sh-syntax --exit-with-session dwm
+Exec=ck-launch-session dbus-launch --sh-syntax --exit-with-session i3