git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #8484 from DamienCassou/fix-blocking-stumpwm-module

Don't block the system after starting stumpwm

commitffe164d7584258243ad04e4b7855a614d59f425f authorDamien Cassou <damien@cassou.me> dateFri 26 Jun 2015, 11:40 (11 years ago) parentd51a8160bd3737
1 file changed+4−3
nixos/modules/services/x11/window-managers/stumpwm.nix+4−3
nixos/modules/services/x11/window-managers/stumpwm.nix+4−3
@@ -21,9 +21,10 @@ in
2121 config = mkIf cfg.enable {
2222 services.xserver.windowManager.session = singleton {
2323 name = "stumpwm";
24− start = "
25− ${pkgs.stumpwm}/bin/stumpwm
26− ";
24+ start = ''
25+ ${pkgs.stumpwm}/bin/stumpwm &
26+ waitPID=$!
27+ '';
2728 };
2829 environment.systemPackages = [ pkgs.stumpwm ];
2930 };