nix/home/config/mako/default.nix

29 lines
676 B
Nix
Raw Normal View History

{ pkgs, config, ... }:
let
alpha = config.style.opacity.hex;
in
{
file = (pkgs.formats.iniWithGlobalSection { }).generate "MakoConfig" {
globalSection = let
color = config.style.color;
in {
anchor = "top-center";
background-color = "#${color.hl}${alpha}";
border-color = "#${color.border}${alpha}";
default-timeout = 10000;
font = "${config.style.font.serif.name} ${toString config.style.font.size.popup}";
height = 120;
icons = 0;
margin = 32;
text-color = "#${config.style.color.fg.light}";
width = 480;
};
2024-09-13 04:16:08 +03:00
sections = {
"mode=dnd" = {
invisible = 1;
};
};
};
2024-04-06 03:03:58 +03:00
}