diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-26 02:00:25 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-26 02:00:25 +0200 |
commit | 39775fd84b6a47be8bfeaf8b59d22970a27d46ec (patch) | |
tree | f983e50089065856f75824570dbd72c70dea814c /dotfiles/.bash_profile | |
parent | Hardware: Remove tmpfs / size (diff) | |
download | nixos-config-39775fd84b6a47be8bfeaf8b59d22970a27d46ec.tar.gz nixos-config-39775fd84b6a47be8bfeaf8b59d22970a27d46ec.tar.bz2 nixos-config-39775fd84b6a47be8bfeaf8b59d22970a27d46ec.zip |
Dotfiles: .profile: Set correct Wayland env variables
Diffstat (limited to 'dotfiles/.bash_profile')
-rw-r--r-- | dotfiles/.bash_profile | 8 |
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 |