Add zprofile

This commit is contained in:
Simon Bruder 2020-08-21 20:27:05 +02:00
parent a8c8b0b6e2
commit a45af95f2f
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

5
home/.zprofile Normal file
View file

@ -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