mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
38 lines
928 B
Nix
38 lines
928 B
Nix
{ lib, config, ... }:
|
|
{
|
|
options.swarselmodules.mako = lib.mkEnableOption "mako settings";
|
|
config = lib.mkIf config.swarselmodules.mako {
|
|
services.mako = {
|
|
enable = true;
|
|
settings = {
|
|
border-radius = 15;
|
|
border-size = 1;
|
|
default-timeout = 5000;
|
|
ignore-timeout = false;
|
|
icons = 1;
|
|
layer = "overlay";
|
|
sort = "-time";
|
|
height = 150;
|
|
width = 300;
|
|
"urgency=low" = {
|
|
border-color = lib.mkForce "#cccccc";
|
|
};
|
|
"urgency=normal" = {
|
|
border-color = lib.mkForce "#d08770";
|
|
};
|
|
"urgency=high" = {
|
|
border-color = lib.mkForce "#bf616a";
|
|
default-timeout = 3000;
|
|
};
|
|
"category=mpd" = {
|
|
default-timeout = 2000;
|
|
group-by = "category";
|
|
};
|
|
"mode=do-not-disturb" = {
|
|
invisible = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
}
|