Link: https://github.com/nix-community/stylix/pull/1360 Reviewed-by: pancho horrillo <pancho@pancho.name> Reviewed-by: awwpotato <awwpotato@voidq.com>
31 lines
591 B
Nix
31 lines
591 B
Nix
{ mkTarget, ... }:
|
|
mkTarget {
|
|
name = "foot";
|
|
humanName = "Foot";
|
|
|
|
configElements = [
|
|
(
|
|
{ fonts }:
|
|
{
|
|
programs.foot.settings.main = {
|
|
font = "${fonts.monospace.name}:size=${toString fonts.sizes.terminal}";
|
|
dpi-aware = "no";
|
|
};
|
|
}
|
|
)
|
|
(
|
|
{ opacity }:
|
|
{
|
|
programs.foot.settings.colors.alpha = opacity.terminal;
|
|
}
|
|
)
|
|
(
|
|
{ colors, inputs }:
|
|
{
|
|
programs.foot.settings.main.include = toString (colors {
|
|
templateRepo = inputs.tinted-foot;
|
|
});
|
|
}
|
|
)
|
|
];
|
|
}
|