Files
dotfiles/homes/julian/features/hyprland/mako/default.nix
Julian Mutter 1d7690eab4
Some checks failed
Update Nix Flake / update-flake (push) Failing after 14s
Fix mako settings
2025-05-06 07:50:35 +02:00

31 lines
659 B
Nix

{
options,
config,
lib,
pkgs,
inputs,
...
}: let
inherit
(inputs.nix-colors.colorschemes.${builtins.toString config.colorscheme.name})
palette
;
in {
home.packages = with pkgs; [libnotify];
services.mako = {
enable = true;
settings = {
defaultTimeout = "5000"; # milliseconds, can be overwritten by notification sender
backgroundColor = "#${palette.base00}";
textColor = "#${palette.base05}";
borderColor = "#${palette.base0D}";
progressColor = "over #${palette.base02}";
extraConfig = ''
[urgency=high]
border-color=#${palette.base09}
# '';
};
};
}