This repository has been archived on 2021-04-06. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/home/.zprofile

6 lines
201 B
Plaintext
Raw Permalink Normal View History

2020-08-21 20:27:05 +02:00
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