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
+5 -1
View File
@@ -1,4 +1,8 @@
{pkgs, inputs, ...}: {
{
pkgs,
inputs,
...
}: {
imports = [
./hypr/binds.nix
./hypr/general.nix
+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;
}
+1 -1
View File
@@ -48,6 +48,6 @@ output_path = "~/.config/hypr/hyprlock-colors.conf"
[templates.mako]
input_path = "~/.config/matugen/templates/mako"
output_path = "~/.config/mako/matugen"
output_path = "~/.config/mako/config"
post_hook = "makoctl reload"
+28
View File
@@ -1,3 +1,31 @@
# Mako notification daemon configuration
# Generated by matugen
# Appearance
font=Sans 11
width=350
height=150
margin=10
padding=15
border-size=2
border-radius=8
# Behavior
default-timeout=5000
ignore-timeout=false
layer=overlay
anchor=top-right
# Interaction
markup=true
actions=true
# Grouping
group-by=app-name
max-visible=5
sort=-time
# Theme colors from matugen
background-color=#{{colors.surface_container_high.default.hex_stripped}}
text-color=#{{colors.on_surface.default.hex_stripped}}
border-color=#{{colors.primary.default.hex_stripped}}