1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-16 16:19:44 +01:00

bspwm: set _JAVA_AWT_WM_NONREPARENTING in xsession.profileExtra (#2645)

Otherwise the fix doesn't affect applications launched via sxhkd.
This commit is contained in:
Naïm Favier 2022-01-18 00:44:20 +01:00 committed by GitHub
parent b59752b9ff
commit 8cf13abffc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,6 +65,12 @@ in {
${concatMapStringsSep "\n" formatStartupProgram cfg.startupPrograms}
'';
# for applications not started by bspwm, e.g. sxhkd
xsession.profileExtra = ''
# java gui fixes
export _JAVA_AWT_WM_NONREPARENTING=1
'';
xsession.windowManager.command =
"${cfg.package}/bin/bspwm -c ${config.xdg.configHome}/bspwm/bspwmrc";
};