3
0
Fork 0
forked from mirrors/nixpkgs

nixos/bspwm: spawn bpswm process in the background and properly set waiPID (#39707)

This commit is contained in:
Milo 2018-04-30 13:03:05 -04:00 committed by Joachim F
parent 89d2dbb363
commit b405a6537c

View file

@ -59,7 +59,7 @@ in
start = '' start = ''
export _JAVA_AWT_WM_NONREPARENTING=1 export _JAVA_AWT_WM_NONREPARENTING=1
SXHKD_SHELL=/bin/sh ${cfg.sxhkd.package}/bin/sxhkd ${optionalString (cfg.sxhkd.configFile != null) "-c \"${cfg.sxhkd.configFile}\""} & SXHKD_SHELL=/bin/sh ${cfg.sxhkd.package}/bin/sxhkd ${optionalString (cfg.sxhkd.configFile != null) "-c \"${cfg.sxhkd.configFile}\""} &
${cfg.package}/bin/bspwm ${optionalString (cfg.configFile != null) "-c \"${cfg.configFile}\""} ${cfg.package}/bin/bspwm ${optionalString (cfg.configFile != null) "-c \"${cfg.configFile}\""} &
waitPID=$! waitPID=$!
''; '';
}; };