dotfiles/zsh/.config/zsh/.zprofile
2022-07-05 19:22:45 +02:00

8 lines
296 B
Bash

if [[ $(uname -o) == "GNU/Linux" ]] && [[ $(lsb_release -si) == "Artix" ]] && [[ $(tty) == "/dev/tty1" ]]; then
export XDG_CURRENT_DESKTOP="Unity"
export GTK_USE_PORTAL=1
export QT_QPA_PLATFORM="wayland"
dbus-launch --sh-syntax --exit-with-session sway &> /dev/null; exit
fi