Add zprofile
This commit is contained in:
parent
a8c8b0b6e2
commit
a45af95f2f
5
home/.zprofile
Normal file
5
home/.zprofile
Normal 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
|
Reference in a new issue