Mako: Try to make notifications more visible.

This commit is contained in:
Dmitry Voronin 2024-11-02 20:17:34 +03:00
parent 01a59d8c4e
commit 67aa7a0291
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -4,10 +4,12 @@ let
in in
{ {
file = (pkgs.formats.iniWithGlobalSection { }).generate "MakoConfig" { file = (pkgs.formats.iniWithGlobalSection { }).generate "MakoConfig" {
globalSection = { globalSection = let
color = config.style.color;
in {
anchor = "top-center"; anchor = "top-center";
background-color = "#${config.style.color.bg.dark}${alpha}"; background-color = "#${color.hl}${alpha}";
border-color = "#${config.style.color.border}${alpha}"; border-color = "#${color.border}${alpha}";
default-timeout = 10000; default-timeout = 10000;
font = "${config.style.font.serif.name} ${toString config.style.font.size.popup}"; font = "${config.style.font.serif.name} ${toString config.style.font.size.popup}";
height = 120; height = 120;