nix/user/common/mako/default.nix

19 lines
590 B
Nix
Raw Normal View History

2024-06-18 11:07:11 +03:00
{ style, lib, setting, ... }: let
2024-05-07 22:54:40 +03:00
alpha = style.opacity.hex;
2024-05-07 14:09:40 +03:00
in {
2024-06-18 11:07:11 +03:00
text = lib.generators.toINIWithGlobalSection {} {
globalSection = {
anchor = "top-center";
background-color = "#${style.color.bg.dark}${alpha}";
border-color = "#${style.color.bg.regular}${alpha}";
default-timeout = setting.popup.timeout.ms;
font = "${style.font.serif.name} ${toString(style.font.size.popup)}";
height = 120;
icons = 0;
margin = 32;
text-color = "#${style.color.fg.light}";
width = 480;
};
};
2024-04-06 03:03:58 +03:00
}