add(apps): mako--a notification daemon

This commit is contained in:
kenji
2026-01-01 23:47:05 -06:00
parent 39fb2b4d27
commit b62e4cbafb
4 changed files with 54 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
{pkgs, ...}: {
services.mako = {
enable = true;
# 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
'';
};
}
+5
View File
@@ -46,3 +46,8 @@ output_path = "~/.config/gtk-4.0/colors.css"
input_path = "~/.config/matugen/templates/hyprlock"
output_path = "~/.config/hypr/hyprlock-colors.conf"
[templates.mako]
input_path = "~/.config/matugen/templates/mako"
output_path = "~/.config/mako/matugen"
post_hook = "makoctl reload"
+14
View File
@@ -0,0 +1,14 @@
background-color=#{{colors.surface_container_high.default.hex_stripped}}
text-color=#{{colors.on_surface.default.hex_stripped}}
border-color=#{{colors.primary.default.hex_stripped}}
progress-color=over #{{colors.primary_container.default.hex_stripped}}
[urgency=low]
border-color=#{{colors.tertiary.default.hex_stripped}}
[urgency=normal]
border-color=#{{colors.primary.default.hex_stripped}}
[urgency=high]
border-color=#{{colors.error.default.hex_stripped}}
default-timeout=0
+1
View File
@@ -4,6 +4,7 @@
../../apps/gemini
../../apps/firefox
../../apps/loupe
../../apps/mako
# ../../apps/starship
];
}