Multi-user setup

This commit is contained in:
2019-11-14 09:16:55 +01:00
parent 5e3f96c9e7
commit 389fc4de4b
5 changed files with 271 additions and 203 deletions

View File

@@ -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