Test tty instead of systemd env var before starting river

This commit is contained in:
Andrew Scott 2023-12-24 02:38:19 -05:00
parent 5b5368193e
commit b3b7209ffa
Signed by: a
GPG key ID: 7CD5A5977E4931C1

View file

@ -75,4 +75,4 @@ export XAUTHORITY="${XDG_RUNTIME_DIR}/Xauthority"
[[ -f ~/.bashrc ]] && . ~/.bashrc [[ -f ~/.bashrc ]] && . ~/.bashrc
# start river # start river
[[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]] && exec dbus-run-session river [[ -z $DISPLAY && $(tty) = "/dev/tty1" ]] && exec dbus-run-session river