about summary refs log tree commit diff
path: root/dotfiles/.bash_profile
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.bash_profile')
-rw-r--r--dotfiles/.bash_profile8
1 files 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