mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
Fix sway java applications
This commit is contained in:
parent
7909cc9062
commit
58e65df5d6
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue