From ddad14902c36d3079ac5f310ebc916c8125d96af Mon Sep 17 00:00:00 2001 From: Ambrose Chua Date: Mon, 20 Dec 2021 17:16:00 +0800 Subject: [PATCH] Fix AWT applications rendering --- .local/bin/wofi_run | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.local/bin/wofi_run b/.local/bin/wofi_run index aafdec3..2ded535 100755 --- a/.local/bin/wofi_run +++ b/.local/bin/wofi_run @@ -1,7 +1,10 @@ #!/bin/zsh export PATH="$PATH:$HOME/.local/bin" +# Force Firefox to run using Wayland export MOZ_ENABLE_WAYLAND=1 +# Tell JetBrains & other AWT that Sway is non-reparenting +export _JAVA_AWT_WM_NONREPARENTING=1 cd ~ wofi \