2024-07-07 08:47:50 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
fonts,
|
|
|
|
accentColourName,
|
|
|
|
...
|
2024-07-30 15:06:34 +01:00
|
|
|
}:
|
|
|
|
{
|
|
|
|
services.mako =
|
|
|
|
let
|
|
|
|
sc = config.scheme.withHashtag;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
enable = true;
|
|
|
|
anchor = "top-right";
|
|
|
|
font = "${fonts.monospace.name} ${toString fonts.sizes.popups}";
|
|
|
|
layer = "top";
|
|
|
|
markup = true;
|
|
|
|
maxVisible = 10;
|
|
|
|
icons = true;
|
|
|
|
iconPath = with config.gtk.iconTheme; "${package}/share/icons/${name}";
|
|
|
|
textColor = "${sc.base05}ff";
|
|
|
|
progressColor = "over ${sc.red}ff";
|
|
|
|
backgroundColor = "${sc.base00}cc";
|
|
|
|
borderColor = "${sc.${accentColourName}}ff";
|
|
|
|
borderRadius = 5;
|
|
|
|
borderSize = 1;
|
|
|
|
defaultTimeout = 0;
|
|
|
|
};
|
2024-07-07 08:47:50 +01:00
|
|
|
}
|