aboutsummaryrefslogtreecommitdiffstatshomepage
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
parentf0eceefc02e949597e40c43bc2f58624ccfff96c (diff)
downloaddotfiles-13fed0f3aec2342e24e70b7b19b91a41cdbf45e6.tar.gz
dotfiles-13fed0f3aec2342e24e70b7b19b91a41cdbf45e6.tar.bz2
dotfiles-13fed0f3aec2342e24e70b7b19b91a41cdbf45e6.zip
[de] Improve JAVA GUIs
-rwxr-xr-xhome/.config/bspwm/bspwmrc2
-rw-r--r--home/.config/sh/envrc3
-rw-r--r--meta/x-base/PKGBUILD3
3 files changed, 7 insertions, 1 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
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 <arch@strisemarx.com>
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'