20 lines
557 B
Nix
20 lines
557 B
Nix
{pkgs, lib, config, ...}: let
|
|
theme = import ../data/theme.nix {inherit config; };
|
|
utils = import ../utils.nix { inherit lib; };
|
|
in {
|
|
services.mako = {
|
|
enable = true;
|
|
settings = {
|
|
default-timeout = 5000;
|
|
border-size = 3;
|
|
margin = "30";
|
|
padding = "5";
|
|
border-radius = 10;
|
|
background-color = utils.rgbToRgba theme.background;
|
|
border-color = utils.rgbToRgba theme.bright.blue;
|
|
progress-color = utils.rgbToRgba theme.bright.cyan;
|
|
text-color = utils.rgbToRgba theme.foreground;
|
|
};
|
|
};
|
|
}
|