awwpotato 2025-04-23 19:51:35 -07:00 committed by GitHub
parent a97dca14af
commit a49bff748c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 12 deletions

View file

@ -1,16 +1,15 @@
{ config, lib, ... }:
let
theme = config.lib.stylix.colors {
templateRepo = config.stylix.inputs.tinted-foot;
};
in
{
options.stylix.targets.foot.enable =
config.lib.stylix.mkEnableTarget "Foot" true;
config.programs.foot.settings = lib.mkIf config.stylix.targets.foot.enable {
main = {
include = theme;
include = toString (
config.lib.stylix.colors {
templateRepo = config.stylix.inputs.tinted-foot;
}
);
font =
with config.stylix.fonts;
"${monospace.name}:size=${toString sizes.terminal}";