dotfiles/dot_zprofile

7 lines
178 B
Text

if [[ -z $DISPLAY && $TTY = /dev/tty1 ]]; then
export MOZ_ENABLE_WAYLAND=1
export XDG_CURRENT_DESKTOP=sway
export XDG_SESSION_TYPE=wayland
exec dbus-run-session sway
fi