27 lines
829 B
Nix
Raw Normal View History

2022-01-29 00:41:41 +03:00
{ pkgs, config, ... }: {
home-manager.users.alukard = {
systemd.user.services.mako = {
2022-07-06 00:14:26 +03:00
Service = { ExecStart = "${pkgs.mako}/bin/mako"; };
2022-01-29 00:41:41 +03:00
Install = {
After = [ "sway-session.target" ];
2022-07-06 00:14:26 +03:00
WantedBy = [ "sway-session.target" ];
2022-01-29 00:41:41 +03:00
};
};
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;
2022-08-05 21:10:22 +03:00
backgroundColor = "#${theme.base00-hex}AA";
2022-01-29 00:41:41 +03:00
textColor = "#${theme.base05-hex}";
2022-08-05 21:10:22 +03:00
borderColor = "#${theme.base0D-hex}AA";
progressColor = "over #${theme.base0B-hex}";
2022-01-29 00:41:41 +03:00
iconPath = "${theme.iconPackage}/share/icons/${theme.iconTheme}";
maxIconSize = 24;
};
};
2022-07-06 00:14:26 +03:00
}