52 lines
968 B
Nix
52 lines
968 B
Nix
{config, pgs, ... }:
|
|
{
|
|
services.mako = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
anchor = "top-right";
|
|
layer = "overlay";
|
|
|
|
width = 360;
|
|
height = 110;
|
|
margin = 12;
|
|
padding = 14;
|
|
|
|
font = "JetBrainsMono Nerd Font 11";
|
|
|
|
border-size = 2;
|
|
border-radius = 10;
|
|
|
|
icons = true;
|
|
max-icon-size = 48;
|
|
|
|
markup = true;
|
|
actions = true;
|
|
|
|
default-timeout = 5000;
|
|
};
|
|
|
|
extraConfig = ''
|
|
include=~/.config/mako/theme.conf
|
|
|
|
[urgency=low]
|
|
default-timeout=3000
|
|
|
|
[urgency=critical]
|
|
default-timeout=0
|
|
'';
|
|
};
|
|
xdg.configFile."mako/themes/zenwritten-light.conf".text = ''
|
|
background-color=#eeeeee
|
|
text-color=#353535
|
|
border-color=#787878
|
|
progress-color=over #286486
|
|
'';
|
|
|
|
xdg.configFile."mako/themes/zenwritten-dark.conf".text = ''
|
|
background-color=#1c1c1c
|
|
text-color=#b9b9b9
|
|
border-color=#666666
|
|
progress-color=over #8ba4b0
|
|
'';
|
|
}
|