Multi-user setup
This commit is contained in:
@@ -47,7 +47,7 @@ umask 0022
|
||||
|
||||
# exec startx breaks some logind fuckery, without exec it works
|
||||
if [[ -z $DISPLAY ]] ; then
|
||||
if (( $XDG_VTNR == 1 )) ; then
|
||||
if (( $XDG_VTNR == {{ user.vt }} )) ; then
|
||||
startx
|
||||
else
|
||||
tmux new-session -A -s tmux-tty-$XDG_VTNR
|
||||
|
||||
Reference in New Issue
Block a user