Add zprofile

home-manager
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
1 changed files with 5 additions and 0 deletions

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