nixos-config/home-manager/wayland/mako.nix
Kiana Sheibani d4a616275e Replace Ubuntu Mono with JetBrains Mono
It doesn't really make sense to have two different fonts used in
different places around the UI. Sticking to one is more convenient and
looks better.
2023-09-21 23:33:36 -04:00

43 lines
886 B
Nix

{ pkgs, ... }:
{
services.mako = {
enable = true;
font = "JetBrainsMono Nerd Font 10";
format = ''<i>%a</i>\n<b>%s</b>\n\n%b'';
layer = "overlay";
backgroundColor = "#111320d0";
width = 300;
margin = "5";
padding = "5,10";
borderSize = 2;
borderColor = "#7bc5e4";
borderRadius = 5;
defaultTimeout = 10000;
extraConfig =
''
[urgency=low]
format=<i>%s</i>\n%b
background-color=#111111c0
border-color=#787c99
border-size=1
[urgency=high]
background-color=#1e0909d0
border-color=#ce7284
border-size=3
default-timeout=0
ignore-timeout=1
[app-name=discord]
format=<b>%s</b>\n\n%b
border-color=#7da6ff
[app-name=discordcanary]
format=<b>%s</b>\n\n%b
border-color=#7da6ff
'';
};
}