From 1be42f01a1192cea3ae6e239b35264e3ea881b52 Mon Sep 17 00:00:00 2001 From: cm-mcl <65181306+cm-mcl@users.noreply.github.com> Date: Mon, 11 May 2020 13:00:16 -0400 Subject: [PATCH] Update xprofile Add Environment Variable to fix Java Application Rendering in DWM, doesn't cause any issues in i3 from what I've seen. Feel free to check yourself, though. --- .config/xprofile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/xprofile b/.config/xprofile index 92861d16..d9ffa31f 100755 --- a/.config/xprofile +++ b/.config/xprofile @@ -11,6 +11,11 @@ # Add this when you include flatpak in your system dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY +# Fix Java applications in DWM +# Without this, some Java applications will not display correctly +# Check dwm.1 in the man pages for more info on this. +export _JAVA_AWT_WM_NONREPARENTING=1 + mpd & # music player daemon-you might prefer it as a service though remaps & # run the remaps script, switching caps/esc and more; check it for more info setbg & # set the background with the `setbg` script