diff --git a/home/.zprofile b/home/.zprofile new file mode 100644 index 0000000..d0300fe --- /dev/null +++ b/home/.zprofile @@ -0,0 +1,5 @@ +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