From d497ae29325a81d0f85975ca9df07194a1ebbe5e Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Mon, 19 Feb 2024 00:19:37 +0300 Subject: [PATCH] fix xmonad projects syntax --- home/modules/window_manager/xmonad.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/modules/window_manager/xmonad.nix b/home/modules/window_manager/xmonad.nix index 80a440f..1292284 100644 --- a/home/modules/window_manager/xmonad.nix +++ b/home/modules/window_manager/xmonad.nix @@ -20,11 +20,11 @@ let '' Project { projectName = "${name}", - projectStartHook = ${lib.removeSuffix startHook} + projectStartHook = ${startHook} } ''; - xmonadProjects = lib.concatStringsSep ",\n" (map mkXmonadProject cfg.projects); + xmonadProjects = lib.concatStringsSep " , " (map mkXmonadProject cfg.projects); in { options.local.xmonad = with lib; @@ -57,7 +57,7 @@ in config = pkgs.substituteAll { src = ./xmonad_config.hs; - projects = "\n" + xmonadProjects; + projects = "\n " + xmonadProjects; inherit (themeCfg.bar) background mainText inactiveText; inherit (themeCfg.window) activeBorder inactiveBorder; inherit (themeCfg.highlights) critical warning success;