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

33 lines
710 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}";
borderColor = "#${config.theme.accentColor}";
borderSize = config.theme.borderWidth;
borderRadius = 0;
defaultTimeout = 5000;
layer = "overlay";
icons = true;
};
};
};
}