add(mako): notification

This commit is contained in:
kenji
2026-01-02 00:07:33 -06:00
parent b62e4cbafb
commit 321dbbe979
4 changed files with 43 additions and 34 deletions
+9 -32
View File
@@ -1,34 +1,11 @@
{pkgs, ...}: {
services.mako = {
enable = true;
{
pkgs,
config,
...
}: {
home.packages = with pkgs; [
libnotify
];
# Appearance
font = "Sans 11";
width = 350;
height = 150;
margin = "10";
padding = "15";
borderSize = 2;
borderRadius = 8;
# Behavior
defaultTimeout = 5000;
ignoreTimeout = false;
layer = "overlay";
anchor = "top-right";
# Interaction
markup = true;
actions = true;
# Grouping
groupBy = "app-name";
maxVisible = 5;
sort = "-time";
# Load matugen colors
extraConfig = ''
!include matugen
'';
};
services.mako.enable = true;
}