39 lines
947 B
Nix
39 lines
947 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
programs.mako = {
|
|
enable = true;
|
|
anchor = "top-right";
|
|
font = "FiraCode Nerd Font 11";
|
|
backgroundColor = "#282828";
|
|
textColor = "#ebdbb2";
|
|
borderColor = "#1d2021";
|
|
borderSize = 2;
|
|
defaultTimeout = 4000;
|
|
width = 500;
|
|
height = 200;
|
|
format = ''
|
|
<i>%a</i>\n<span background="#ebdbb2" foreground="#282828"><b> %s </b></span> %b'';
|
|
layer = "overlay";
|
|
|
|
extraConfig = ''
|
|
[urgency=low]
|
|
default-timeout=2000
|
|
|
|
[urgency=normal]
|
|
format=<i>%a</i>\n<span background="#fe8019" foreground="#282828"><b> %s </b></span> %b
|
|
default-timeout=3000
|
|
|
|
[urgency=high]
|
|
format=<i>%a</i>\n<span background="#fb4934" foreground="#282828"><b> %s </b></span> %b
|
|
default-timeout=10000
|
|
|
|
|
|
[app-name="Firefox"]
|
|
format=<span background="#ebdbb2" foreground="#282828"><b> %s </b></span>\n%b
|
|
'';
|
|
};
|
|
|
|
home.packages = [ pkgs.firaCodeNerd ];
|
|
}
|