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 | 02880fa721e41c9d2eb4eacedf993df7222a8ee1 (patch) | |
tree | 9cb8694c36226f0a20ae88c4ad53d6ec493500d0 | |
parent | Hardware: Remove tmpfs / size (diff) | |
download | nixos-config-02880fa721e41c9d2eb4eacedf993df7222a8ee1.tar.gz nixos-config-02880fa721e41c9d2eb4eacedf993df7222a8ee1.tar.bz2 nixos-config-02880fa721e41c9d2eb4eacedf993df7222a8ee1.zip |
Dotfiles: .profile: Set correct Wayland env variables
-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 |