42 lines
852 B
Nix
42 lines
852 B
Nix
# ABOUTME: Mako notification daemon configuration with nix-colors theming
|
|
# ABOUTME: Configures notification appearance and behavior
|
|
|
|
{ config, pkgs, ... }:
|
|
let
|
|
palette = config.colorScheme.palette;
|
|
in
|
|
{
|
|
services.mako = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
background-color = "#${palette.base00}";
|
|
text-color = "#${palette.base05}";
|
|
border-color = "#${palette.base04}";
|
|
progress-color = "#${palette.base0D}";
|
|
|
|
width = 420;
|
|
height = 110;
|
|
padding = "10";
|
|
margin = "10";
|
|
border-size = 2;
|
|
border-radius = 0;
|
|
|
|
anchor = "top-right";
|
|
layer = "overlay";
|
|
|
|
default-timeout = 5000;
|
|
ignore-timeout = false;
|
|
max-visible = 5;
|
|
sort = "-time";
|
|
|
|
group-by = "app-name";
|
|
|
|
actions = true;
|
|
|
|
format = "<b>%s</b>\\n%b";
|
|
markup = true;
|
|
};
|
|
};
|
|
}
|