rice/programs/mako.nix

24 lines
569 B
Nix
Raw Normal View History

2022-07-22 20:42:05 +00:00
{pkgs, ...}: {
home-manager.users.buffet = {
home.packages = [pkgs.libnotify]; # TODO: is this required?
programs.mako = let
colors = import ../theme.nix;
in {
enable = true;
anchor = "top-right";
backgroundColor = colors.primary.background;
borderColor = colors.wm.focused.border;
progressColor = colors.primary.foreground;
textColor = colors.primary.foreground;
borderSize = 1;
defaultTimeout = 4000;
font = with import ../theme.nix; "${font.family} ${toString font.size}";
};
};
}