automapaper?
This commit is contained in:
parent
77d730d177
commit
ad2cafa469
3 changed files with 74 additions and 60 deletions
|
|
@ -92,23 +92,33 @@
|
|||
scale = "1";
|
||||
}
|
||||
];
|
||||
extraConfig = {
|
||||
xdg.configFile =
|
||||
let
|
||||
wpkgs = inputs.self.packages.${pkgs.system};
|
||||
in
|
||||
{
|
||||
"niri/config.kdl".source = pkgs.substituteAll {
|
||||
src = ../../extra/niri.kdl;
|
||||
env = {
|
||||
kitty = "${pkgs.kitty}/bin/kitty";
|
||||
wofilaunch = "${wpkgs.wofi-launch}/bin/wofi-launch";
|
||||
wofipower = "${wpkgs.wofi-power}/bin/wofi-power";
|
||||
swaylock = "${pkgs.swaylock}/bin/swaylock";
|
||||
extraConfig =
|
||||
let
|
||||
hconfig = config.home-manager.users.noa;
|
||||
in
|
||||
{
|
||||
xdg.configFile =
|
||||
let
|
||||
wpkgs = inputs.self.packages.${pkgs.system};
|
||||
in
|
||||
{
|
||||
"niri/config.kdl".source = pkgs.substituteAll {
|
||||
src = ../../extra/niri.kdl;
|
||||
env = {
|
||||
kitty = "${pkgs.kitty}/bin/kitty";
|
||||
wofilaunch = "${wpkgs.wofi-launch}/bin/wofi-launch";
|
||||
wofipower = "${wpkgs.wofi-power}/bin/wofi-power";
|
||||
swaylock = "${pkgs.swaylock}/bin/swaylock";
|
||||
automapaper = lib.strings.concatMapStringsSep "\n" (
|
||||
command:
|
||||
(
|
||||
''spawn-at-startup "${(lib.strings.concatStringsSep ''" "'' (lib.strings.splitString " " command))}"''
|
||||
)
|
||||
) hconfig.modules.automapaper.startStrings;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
"root" = import ./root.nix;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue