nixos-config/common/home-manager/wayland/mako.nix

43 lines
879 B
Nix
Raw Normal View History

2022-01-06 21:14:02 -05:00
{ pkgs, ... }:
{
programs.mako = {
enable = true;
font = "UbuntuMono Light 11";
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
[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
'';
};
}