ref(tmux)
This commit is contained in:
parent
d35ecd5505
commit
c6bc8ed68d
@ -6,5 +6,5 @@ fi
|
||||
if systemctl -q is-active graphical.target && [[ $(tty) = "/dev/tty1" ]] && [[ -z $DISPLAY ]] && [[ $XDG_VTNR -eq 1 ]]; then
|
||||
exec startx >> ~/.xlogs 2>&1
|
||||
elif command -v tmux &>/dev/null && [[ $(tty) = "/dev/tty2" ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
|
||||
exec tmux
|
||||
exec tmux new-session
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user