From 02880fa721e41c9d2eb4eacedf993df7222a8ee1 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Mon, 26 Sep 2022 02:00:25 +0200 Subject: Dotfiles: .profile: Set correct Wayland env variables --- dotfiles/.bash_profile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dotfiles/.bash_profile b/dotfiles/.bash_profile index 9857c11..1c2fa45 100644 --- a/dotfiles/.bash_profile +++ b/dotfiles/.bash_profile @@ -3,12 +3,12 @@ [[ -f ~/.bashrc ]] && . "$HOME/.bashrc" -if [[ "$XDG_SESSION_TYPE" == "wayland" ]]; then - export MOZ_ENABLE_WAYLAND=1 -fi - # Start River if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then + export SDL_VIDEODRIVER=wayland + export QT_QPA_PLATFORM=wayland + export QT_WAYLAND_DISABLE_WINDOWDECORATION="1" + export MOZ_ENABLE_WAYLAND=1 exec river fi -- cgit 1.4.1