xmonad-projects #15

Merged
pleshevskiy merged 2 commits from xmonad-projects into main 2024-02-19 00:20:16 +03:00
Showing only changes of commit d497ae2932 - Show all commits

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;