33 lines
710 B
Nix
33 lines
710 B
Nix
|
{ config, lib, ... }:
|
||
|
|
||
|
{
|
||
|
config = lib.mkIf config.desktop.enable {
|
||
|
|
||
|
home-manager.users.${config.user} = {
|
||
|
services.mako = {
|
||
|
|
||
|
enable = true;
|
||
|
|
||
|
font = "${config.theme.font} 11";
|
||
|
|
||
|
margin = toString config.theme.outerGap;
|
||
|
padding = toString config.theme.innerGap;
|
||
|
|
||
|
backgroundColor = "#${config.theme.colors.base00}";
|
||
|
progressColor = "#${config.theme.colors.base00}";
|
||
|
textColor = "#${config.theme.colors.base05}";
|
||
|
|
||
|
borderColor = "#${config.theme.accentColor}";
|
||
|
borderSize = config.theme.borderWidth;
|
||
|
borderRadius = 0;
|
||
|
|
||
|
defaultTimeout = 5000;
|
||
|
layer = "overlay";
|
||
|
icons = true;
|
||
|
|
||
|
};
|
||
|
};
|
||
|
|
||
|
};
|
||
|
}
|