fix xmonad projects syntax

This commit is contained in:
Dmitriy Pleshevskiy 2024-02-19 00:19:37 +03:00
parent f0f9961626
commit d497ae2932
Signed by: pleshevskiy
GPG Key ID: 79C4487B44403985
1 changed files with 3 additions and 3 deletions

View File

@ -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;