2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
config,
|
2024-07-18 21:05:35 -04:00
|
|
|
lib,
|
2024-04-07 22:16:33 -04:00
|
|
|
...
|
|
|
|
}: {
|
2024-06-26 22:13:02 -04:00
|
|
|
config = lib.mkIf config.ar.home.apps.mako.enable {
|
2024-03-28 19:52:15 -04:00
|
|
|
services.mako = {
|
|
|
|
enable = true;
|
|
|
|
anchor = "top-center";
|
2024-06-26 22:13:02 -04:00
|
|
|
backgroundColor = "${config.ar.home.theme.colors.background}CC";
|
|
|
|
borderColor = "${config.ar.home.theme.colors.primary}EE";
|
2024-05-15 15:31:02 -04:00
|
|
|
borderSize = 2;
|
2024-03-28 19:52:15 -04:00
|
|
|
borderRadius = 10;
|
|
|
|
defaultTimeout = 10000;
|
2024-07-03 10:35:39 -04:00
|
|
|
font = "${config.gtk.font.name} Regular ${toString config.gtk.font.size}";
|
2024-03-28 19:52:15 -04:00
|
|
|
height = 300;
|
|
|
|
layer = "top";
|
|
|
|
padding = "15";
|
2024-06-26 22:13:02 -04:00
|
|
|
textColor = "${config.ar.home.theme.colors.text}";
|
2024-03-28 19:52:15 -04:00
|
|
|
width = 400;
|
|
|
|
margin = "20,0";
|
2024-05-16 17:30:37 -04:00
|
|
|
extraConfig = ''
|
|
|
|
[mode=do-not-disturb]
|
|
|
|
invisible=1
|
|
|
|
'';
|
2024-03-28 19:52:15 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|