rice/programs/mako.nix

22 lines
485 B
Nix
Raw Normal View History

2022-07-22 20:42:05 +00:00
{pkgs, ...}: {
home-manager.users.buffet = {
2023-06-12 10:09:54 +00:00
services.mako = let
2022-08-13 23:47:41 +00:00
theme = import ../theme.nix;
2022-07-22 20:42:05 +00:00
in {
enable = true;
anchor = "top-right";
2022-08-13 23:47:41 +00:00
backgroundColor = theme.primary.background;
borderColor = theme.wm.focused.border;
progressColor = theme.primary.foreground;
textColor = theme.primary.foreground;
2022-07-22 20:42:05 +00:00
borderSize = 1;
defaultTimeout = 4000;
2022-08-13 23:47:41 +00:00
font = with theme; "${font.family} ${toString font.size}";
2022-07-22 20:42:05 +00:00
};
};
}