.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:
parent
067bbef8ef
commit
36a50bc815
3
.zshrc
3
.zshrc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user