2022-01-06 21:14:02 -05:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2023-05-15 10:47:52 -04:00
|
|
|
services.mako = {
|
2022-01-06 21:14:02 -05:00
|
|
|
enable = true;
|
|
|
|
|
2023-09-21 23:33:36 -04:00
|
|
|
font = "JetBrainsMono Nerd Font 10";
|
2022-01-06 21:14:02 -05:00
|
|
|
format = ''<i>%a</i>\n<b>%s</b>\n\n%b'';
|
|
|
|
layer = "overlay";
|
|
|
|
backgroundColor = "#111320d0";
|
|
|
|
width = 300;
|
|
|
|
margin = "5";
|
|
|
|
padding = "5,10";
|
|
|
|
borderSize = 2;
|
2022-09-23 23:33:11 -04:00
|
|
|
borderColor = "#7bc5e4";
|
2022-01-06 21:14:02 -05:00
|
|
|
borderRadius = 5;
|
|
|
|
defaultTimeout = 10000;
|
|
|
|
|
|
|
|
extraConfig =
|
|
|
|
''
|
|
|
|
[urgency=low]
|
|
|
|
format=<i>%s</i>\n%b
|
|
|
|
background-color=#111111c0
|
2022-09-23 23:33:11 -04:00
|
|
|
border-color=#787c99
|
2022-01-06 21:14:02 -05:00
|
|
|
border-size=1
|
|
|
|
|
|
|
|
[urgency=high]
|
|
|
|
background-color=#1e0909d0
|
2022-09-23 23:33:11 -04:00
|
|
|
border-color=#ce7284
|
|
|
|
border-size=3
|
2022-01-06 21:14:02 -05:00
|
|
|
default-timeout=0
|
|
|
|
ignore-timeout=1
|
|
|
|
|
2022-09-23 23:33:11 -04:00
|
|
|
[app-name=discord]
|
|
|
|
format=<b>%s</b>\n\n%b
|
|
|
|
border-color=#7da6ff
|
|
|
|
|
2022-09-23 17:23:08 -04:00
|
|
|
[app-name=discordcanary]
|
2022-09-23 23:33:11 -04:00
|
|
|
format=<b>%s</b>\n\n%b
|
|
|
|
border-color=#7da6ff
|
2022-01-06 21:14:02 -05:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|