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 +++ meta/x-base/PKGBUILD | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) 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 diff --git a/meta/x-base/PKGBUILD b/meta/x-base/PKGBUILD index 5d51f7d..634ccdb 100644 --- a/meta/x-base/PKGBUILD +++ b/meta/x-base/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Arnold Sommerfeld pkgname=strisemarx-x-base -pkgver=4 +pkgver=5 pkgrel=1 pkgdesc="strisemarx's Xorg base metapackage" arch=('any') @@ -9,6 +9,7 @@ license=('GPL3') depends=( 'sx' 'unclutter-xfixes-git' + 'wmname' 'xclip' 'xorg-xinput' 'xorg-xmodmap' -- cgit v1.2.3-70-g09d2