29 lines
802 B
Nix
Raw Normal View History

2021-01-13 14:24:22 +03:00
{ pkgs, config, ... }: {
home-manager.users.balsoft = {
2021-09-23 20:13:38 +03:00
systemd.user.services.mako = {
Service = {
ExecStart = "${pkgs.mako}/bin/mako";
};
Install = {
After = [ "sway-session.target" ];
WantedBy = [ "sway-session.target" ];
};
};
2021-06-10 18:58:51 +03:00
programs.mako = with pkgs.my-lib.thmHash; {
2021-01-13 14:24:22 +03:00
enable = true;
layer = "overlay";
2021-06-10 18:58:51 +03:00
font = with config.themes.fonts; "${main.family} ${toString main.size}";
2021-01-13 14:24:22 +03:00
width = 500;
height = 80;
defaultTimeout = 10000;
maxVisible = 10;
2021-06-10 18:58:51 +03:00
backgroundColor = "${base00}AA";
textColor = base05;
borderColor = "${base0D}AA";
progressColor = "over ${base0B}";
2021-02-25 19:32:13 +03:00
iconPath = "${pkgs.papirus-icon-theme}/share/icons/Papirus-Dark";
maxIconSize = 24;
2021-01-13 14:24:22 +03:00
};
};
2020-02-17 16:00:59 +03:00
}