This repository has been archived on 2021-04-06. You can view files and clone it, but cannot push or open issues/pull-requests.
|
if [[ -z $WAYLAND_DISPLAY ]] && [[ $(tty) = /dev/tty1 ]] && command -v sway >/dev/null ; then
|
|
systemctl --user start graphical-session.target
|
|
export XDG_SESSION_TYPE="wayland"
|
|
exec sway
|
|
fi
|