.zshrc: Fix for Firefox on Wayland

Don't try opening Firefox in XWayland when we already have one run-
ning on Wayland.
This commit is contained in:
Alan Orth 2021-06-29 12:50:55 +03:00
parent 067bbef8ef
commit 36a50bc815
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

3
.zshrc
View File

@ -34,6 +34,9 @@ if [[ "$OSTYPE" =~ ^linux.*$ ]]; then
if [[ -n $WAYLAND_DISPLAY ]]; then if [[ -n $WAYLAND_DISPLAY ]]; then
export MOZ_ENABLE_WAYLAND=1 export MOZ_ENABLE_WAYLAND=1
# 2021-06-22: fix "Firefox is already running" message
# See: https://mastransky.wordpress.com/2020/03/16/wayland-x11-how-to-run-firefox-in-mixed-environment/
export MOZ_DBUS_REMOTE=1
export KITTY_ENABLE_WAYLAND=1 export KITTY_ENABLE_WAYLAND=1
export QT_QPA_PLATFORM=wayland-egl export QT_QPA_PLATFORM=wayland-egl
export CLUTTER_BACKEND=wayland export CLUTTER_BACKEND=wayland