mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +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:
parent
b59752b9ff
commit
8cf13abffc
1 changed files with 6 additions and 0 deletions
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue