27 lines
634 B
Nix
27 lines
634 B
Nix
{ config, ... }:
|
|
{
|
|
services.mako = {
|
|
enable = config.home.desktop.enable;
|
|
settings = {
|
|
# Theme
|
|
background-color = "#${config.vars.colors.dark}D9";
|
|
border-color = "#${config.vars.colors.accent}";
|
|
border-size = config.vars.border.int;
|
|
font = "${config.vars.fonts.main} 12";
|
|
margin = 0;
|
|
max-icon-size = 40;
|
|
outer-margin = 10;
|
|
padding = 8;
|
|
|
|
# Rules
|
|
anchor = "bottom-right";
|
|
default-timeout = 4500;
|
|
layer = "overlay";
|
|
on-button-right = "dismiss-all";
|
|
sort = "+time";
|
|
|
|
# Modes
|
|
"mode=do-not-disturb".invisible = 1;
|
|
};
|
|
};
|
|
}
|