From 13fed0f3aec2342e24e70b7b19b91a41cdbf45e6 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Thu, 16 May 2024 10:43:56 +0100 Subject: [de] Improve JAVA GUIs --- home/.config/bspwm/bspwmrc | 2 ++ home/.config/sh/envrc | 3 +++ 2 files changed, 5 insertions(+) (limited to 'home/.config') diff --git a/home/.config/bspwm/bspwmrc b/home/.config/bspwm/bspwmrc index c0b7ba3..067decd 100755 --- a/home/.config/bspwm/bspwmrc +++ b/home/.config/bspwm/bspwmrc @@ -47,3 +47,5 @@ bspc rule -a "gta5.exe" desktop="10" bspc rule -a "*.exe" desktop="10" bspc monitor -d 1 2 3 4 5 6 7 8 9 10 + +wmname LG3D diff --git a/home/.config/sh/envrc b/home/.config/sh/envrc index d3e29b2..64d85d7 100644 --- a/home/.config/sh/envrc +++ b/home/.config/sh/envrc @@ -127,6 +127,9 @@ fi export SXHKD_SHELL="sh" # Java: use system anti-aliased fonts and make swing use the GTK look and feel: export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Djava.util.prefs.userRoot=$XDG_CONFIG_HOME/java -Djdk.gtk.version=2" +# https://wiki.archlinux.org/title/Java#Gray_window,_applications_not_resizing_with_WM,_menus_immediately_closing +export _JAVA_AWT_WM_NONREPARENTING=1 +export AWT_TOOLKIT=MToolkit export QT_QPA_PLATFORMTHEME=qt5ct -- cgit v1.2.3-70-g09d2