dotfiles-nix/modules/programs/mako/default.nix

33 lines
735 B
Nix
Raw Normal View History

2025-01-21 02:43:35 +00:00
{ config, lib, ... }:
{
config = lib.mkIf config.desktop.enable {
home-manager.users.${config.user} = {
services.mako = {
enable = true;
font = "${config.theme.font} 11";
margin = toString config.theme.outerGap;
padding = toString config.theme.innerGap;
backgroundColor = "#${config.theme.colors.base00}";
progressColor = "#${config.theme.colors.base00}";
textColor = "#${config.theme.colors.base05}";
2025-01-21 13:27:50 +00:00
borderColor = "#${config.theme.colors.base05}";
2025-01-21 02:43:35 +00:00
borderSize = config.theme.borderWidth;
2025-01-21 13:27:50 +00:00
borderRadius = config.theme.outerRadius;
2025-01-21 02:43:35 +00:00
defaultTimeout = 5000;
layer = "overlay";
icons = true;
};
};
};
}