Compare commits

...

2 Commits

Author SHA1 Message Date
8c12647ba0 dot_zshrc.tmpl: set ELECTRON_OZONE_PLATFORM_HINT=auto
For Electron 28+.

See: https://wiki.archlinux.org/title/Wayland
2025-09-05 21:29:24 +03:00
661b3b44d9 dot_zshrc.tmpl: remove MOZ_ENABLE_WAYLAND
As of Firefox 121 and Thunderbird 128 Wayland is the default so we
do not need these anymore.
2025-09-05 21:15:50 +03:00

View File

@@ -29,13 +29,12 @@ if [[ "$OSTYPE" =~ ^linux.*$ ]]; then
[[ ! $PATH == *.local/bin* ]] && PATH=~/.local/bin:$PATH
{{ if or (eq .chezmoi.hostname "knafeh") (eq .chezmoi.hostname "balozi") }}
# Export these variables in our TTY so that Sway can read them when it
# starts. It's not pretty, but it's all we can do since support for
# ~/.pam_environment was removed from pambase in Arch Linux recently.
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
# 2025-09-05: Electron 28+
# See: https://wiki.archlinux.org/title/Wayland
export ELECTRON_OZONE_PLATFORM_HINT=auto
export QT_QPA_PLATFORM=wayland-egl
export CLUTTER_BACKEND=wayland
# 2020-02-10: https://github.com/swaywm/sway/wiki#issues-with-java-applications