diff --git a/homeConfig/dotfiles/bash/bash_profile b/homeConfig/dotfiles/bash/bash_profile index 7950f5e..a03745f 100644 --- a/homeConfig/dotfiles/bash/bash_profile +++ b/homeConfig/dotfiles/bash/bash_profile @@ -3,3 +3,8 @@ if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then # Start Sway in the background exec sway fi + +if [ "$XDG_CURRENT_DESKTOP" = "sway" ] ; then + # https://github.com/swaywm/sway/issues/595 + export _JAVA_AWT_WM_NONREPARENTING=1 +fi