confix/home-manager/dots/mako.nix

29 lines
897 B
Nix
Raw Normal View History

{ pkgs, config, ... }:
{
services.mako = {
enable = true;
backgroundColor = "#${config.colorScheme.colors.base01}";
borderColor = "#${config.colorScheme.colors.base0E}";
borderRadius = 5;
borderSize = 2;
textColor = "#${config.colorScheme.colors.base04}";
anchor = "top-right";
layer = "overlay";
maxVisible = 5;
font = "Comic Mono 12";
defaultTimeout = 10000;
extraConfig = ''
[urgency=low]
border-color=#${config.colorScheme.colors.base01}
text-color=#${config.colorScheme.colors.base07}
[urgency=normal]
border-color=#${config.colorScheme.colors.base0D}
text-color=#${config.colorScheme.colors.base04}
[urgency=high]
background-color=#${config.colorScheme.colors.base0E}
border-color=#${config.colorScheme.colors.base0E}
text-color=#${config.colorScheme.colors.base04}
'';
};
}