Fix sway java applications

This commit is contained in:
Bryan Ramos 2023-04-30 14:48:13 -04:00
parent 7909cc9062
commit 58e65df5d6

View file

@ -3,3 +3,8 @@ if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
# Start Sway in the background # Start Sway in the background
exec sway exec sway
fi fi
if [ "$XDG_CURRENT_DESKTOP" = "sway" ] ; then
# https://github.com/swaywm/sway/issues/595
export _JAVA_AWT_WM_NONREPARENTING=1
fi