nixos-config/profiles/workspace/mako.nix

29 lines
802 B
Nix

{ pkgs, config, ... }: {
home-manager.users.balsoft = {
systemd.user.services.mako = {
Service = {
ExecStart = "${pkgs.mako}/bin/mako";
};
Install = {
After = [ "sway-session.target" ];
WantedBy = [ "sway-session.target" ];
};
};
programs.mako = with pkgs.my-lib.thmHash; {
enable = true;
layer = "overlay";
font = with config.themes.fonts; "${main.family} ${toString main.size}";
width = 500;
height = 80;
defaultTimeout = 10000;
maxVisible = 10;
backgroundColor = "${base00}AA";
textColor = base05;
borderColor = "${base0D}AA";
progressColor = "over ${base0B}";
iconPath = "${pkgs.papirus-icon-theme}/share/icons/Papirus-Dark";
maxIconSize = 24;
};
};
}