2023-01-26 00:36:27 +03:00

27 lines
848 B
Nix

{ pkgs, config, ... }: {
home-manager.users.${config.mainuser} = {
systemd.user.services.mako = {
Service = { ExecStart = "${pkgs.mako}/bin/mako"; };
Install = {
After = [ "hyprland-session.target" ];
WantedBy = [ "hyprland-session.target" ];
};
};
programs.mako = with config.lib.base16; {
enable = true;
layer = "overlay";
font = "${theme.fonts.mono.family} ${theme.fontSizes.normal.str}";
width = 500;
height = 80;
defaultTimeout = 10000;
maxVisible = 10;
backgroundColor = "#${theme.base00-hex}AA";
textColor = "#${theme.base05-hex}";
borderColor = "#${theme.base0D-hex}AA";
progressColor = "over #${theme.base0B-hex}";
iconPath = "${theme.iconPackage}/share/icons/${theme.iconTheme}";
maxIconSize = 24;
};
};
}