aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2024-05-16 10:43:56 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2024-05-16 10:43:56 +0100
commit13fed0f3aec2342e24e70b7b19b91a41cdbf45e6 (patch)
treec7163ae909672640ae15563d6665dbabfa8d7b8a /home/.config
parentf0eceefc02e949597e40c43bc2f58624ccfff96c (diff)
downloaddotfiles-13fed0f3aec2342e24e70b7b19b91a41cdbf45e6.tar.gz
dotfiles-13fed0f3aec2342e24e70b7b19b91a41cdbf45e6.tar.bz2
dotfiles-13fed0f3aec2342e24e70b7b19b91a41cdbf45e6.zip
[de] Improve JAVA GUIs
Diffstat (limited to 'home/.config')
-rwxr-xr-xhome/.config/bspwm/bspwmrc2
-rw-r--r--home/.config/sh/envrc3
2 files changed, 5 insertions, 0 deletions
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