From a45af95f2fc57c29b044314f6ea118fda7eb85fd Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 21 Aug 2020 20:27:05 +0200 Subject: [PATCH] Add zprofile --- home/.zprofile | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 home/.zprofile 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