add(apps): mako--a notification daemon
This commit is contained in:
@@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -4,6 +4,7 @@
|
||||
../../apps/gemini
|
||||
../../apps/firefox
|
||||
../../apps/loupe
|
||||
../../apps/mako
|
||||
# ../../apps/starship
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user