summary refs log tree commit diff
path: root/nixos/modules/services/x11/window-managers
diff options
context:
space:
mode:
authorMitchell Pleune <mitchpleune@gmail.com>2016-05-03 17:39:18 -0400
committerMitchell Pleune <mitchpleune@gmail.com>2016-05-03 17:46:48 -0400
commit571e9b5f1ffe792d4b6d859ca7832b689ca3ea6a (patch)
tree7c096b9936f0c2750e2b1288392ad649f63f7b20 /nixos/modules/services/x11/window-managers
parent78b6e8c3199c1ce8ad4744cb90b47e94739083da (diff)
downloadnixpkgs-571e9b5f1ffe792d4b6d859ca7832b689ca3ea6a.tar
nixpkgs-571e9b5f1ffe792d4b6d859ca7832b689ca3ea6a.tar.gz
nixpkgs-571e9b5f1ffe792d4b6d859ca7832b689ca3ea6a.tar.bz2
nixpkgs-571e9b5f1ffe792d4b6d859ca7832b689ca3ea6a.tar.lz
nixpkgs-571e9b5f1ffe792d4b6d859ca7832b689ca3ea6a.tar.xz
nixpkgs-571e9b5f1ffe792d4b6d859ca7832b689ca3ea6a.tar.zst
nixpkgs-571e9b5f1ffe792d4b6d859ca7832b689ca3ea6a.zip
bspwm: add _JAVA_AWT_WM_NONREPARENTING=1
bspwm is not in java's internal list of non-reparrenting
window managers. See https://awesomewm.org/wiki/Problems_with_Java
Diffstat (limited to 'nixos/modules/services/x11/window-managers')
-rw-r--r--nixos/modules/services/x11/window-managers/bspwm.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/window-managers/bspwm.nix b/nixos/modules/services/x11/window-managers/bspwm.nix
index 271b1b6cf5d..03a1b7a72e8 100644
--- a/nixos/modules/services/x11/window-managers/bspwm.nix
+++ b/nixos/modules/services/x11/window-managers/bspwm.nix
@@ -38,6 +38,7 @@ in
       start = if cfg.startThroughSession
         then cfg.sessionScript
         else ''
+            export _JAVA_AWT_WM_NONREPARENTING=1
             SXHKD_SHELL=/bin/sh ${pkgs.sxhkd}/bin/sxhkd -f 100 &
             ${pkgs.bspwm}/bin/bspwm
         '';