frues-clan/users/pedro/home-configuration/mako.nix
Pedro Rey Anca 7606f9e051
Some checks failed
Update `flake.lock` / update_lockfile (push) Waiting to run
Flake check / check (push) Has been cancelled
Migrate config (frues-pc machine for now) from https://git.peprolinbot.com/peprolinbot/nixos-config, with improvements
2025-09-08 18:59:28 +02:00

31 lines
760 B
Nix

{...}: {
services.mako = {
enable = true;
settings = {
default-timeout = 5000;
"mode=do-not-disturb" = {
invisible = 1;
};
# From https://github.com/emersion/mako/wiki/Volume-change-notification
"app-name=wp-vol" = {
layer = "overlay";
history = 0;
anchor = "top-center";
# Group all volume notifications together
group-by = "app-name";
# Hide the group-index
format = "<b>%s</b>\\n%b";
};
"app-name=volume group-index=0" = {
# Only show last notification
invisible = 0;
};
"app-name=volume grouped=false" = {
# Force initial volume notification to be visible
invisible = 0;
};
};
};
}