2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
2024-05-15 15:31:02 -04:00
|
|
|
options = {alyraffauf.apps.mako.enable = lib.mkEnableOption "Mako notification daemon.";};
|
2024-03-28 19:52:15 -04:00
|
|
|
|
2024-04-17 22:39:00 -04:00
|
|
|
config = lib.mkIf config.alyraffauf.apps.mako.enable {
|
2024-03-28 19:52:15 -04:00
|
|
|
services.mako = {
|
|
|
|
enable = true;
|
|
|
|
anchor = "top-center";
|
2024-05-04 21:00:40 -04:00
|
|
|
backgroundColor = "${config.alyraffauf.desktop.theme.colors.background}CC";
|
2024-05-15 15:31:02 -04:00
|
|
|
borderColor = "${config.alyraffauf.desktop.theme.colors.primary}EE";
|
|
|
|
borderSize = 2;
|
2024-03-28 19:52:15 -04:00
|
|
|
borderRadius = 10;
|
|
|
|
defaultTimeout = 10000;
|
2024-05-04 21:00:40 -04:00
|
|
|
font = "${config.alyraffauf.desktop.theme.font.name} Regular ${toString config.alyraffauf.desktop.theme.font.size}";
|
2024-03-28 19:52:15 -04:00
|
|
|
height = 300;
|
|
|
|
layer = "top";
|
|
|
|
padding = "15";
|
2024-05-04 21:00:40 -04:00
|
|
|
textColor = "${config.alyraffauf.desktop.theme.colors.text}";
|
2024-03-28 19:52:15 -04:00
|
|
|
width = 400;
|
|
|
|
margin = "20,0";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|