This repository has been archived on 2024-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
home-manager/programs/desktop/mako/default.nix

25 lines
614 B
Nix
Raw Normal View History

{
config,
fonts,
accentColour,
...
}: {
services.mako = with config.scheme.withHashtag; {
enable = true;
anchor = "top-right";
font = "${fonts.monospace.name} ${toString fonts.sizes.popups}";
layer = "top";
markup = true;
maxVisible = 10;
icons = true;
iconPath = with config.gtk.iconTheme; "${package}/share/icons/${name}";
textColor = "${base05}ff";
progressColor = "over ${red}ff";
backgroundColor = "${base00}cc";
borderColor = "${config.scheme.withHashtag.${accentColour}}ff";
borderRadius = 10;
borderSize = 1;
defaultTimeout = 0;
};
}