about summary refs log tree commit diff
path: root/home/profiles/gui/default.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-08-20 00:45:14 +0900
committersefidel <contact@sefidel.net>2023-08-20 15:40:26 +0900
commit1aa332ba4bec61e731199c88ce1fa0d30e3bea75 (patch)
treeefa2daf5bda12fd2c5c28f40d18c642e5de3a708 /home/profiles/gui/default.nix
parent36d606083a7d705d0710be68913fd811c76f0793 (diff)
downloadnixrc-1aa332ba4bec61e731199c88ce1fa0d30e3bea75.tar.gz
nixrc-1aa332ba4bec61e731199c88ce1fa0d30e3bea75.zip
feat(home/gui): add nonreparenting variable for java
Diffstat (limited to 'home/profiles/gui/default.nix')
-rw-r--r--home/profiles/gui/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/profiles/gui/default.nix b/home/profiles/gui/default.nix
index 9d19a2c..139307a 100644
--- a/home/profiles/gui/default.nix
+++ b/home/profiles/gui/default.nix
@@ -69,6 +69,10 @@ in
       pkgs.foot.terminfo
     ];
 
+    home.sessionVariables = {
+      _JAVA_AWT_WM_NONREPARENTING = "1"; # Fix 'grey screen' issue on java apps
+    };
+
     wayland.windowManager.sway = {
       enable = true;