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