From d88642c3d34d1df918f50f9865f6fc38394c6abd Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 26 Dec 2023 10:01:17 +0300 Subject: [PATCH] Revert "dotfiles/zshrc: remove MOZ_ENABLE_WAYLAND" This reverts commit d96d8d6550bf5caa1fefa43351af7ada233e86ef. Thunderbird still needs this! --- dotfiles/zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 634d91c..e4269d4 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -33,6 +33,10 @@ if [[ "$OSTYPE" =~ ^linux.*$ ]]; then PATH=$PATH:~/.node_modules/bin {%@@ if profile == "knafeh" or profile == "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