nixos-config/modules/workspace/mako.nix

21 lines
645 B
Nix

{ pkgs, config, ... }: {
home-manager.users.balsoft = {
wayland.windowManager.sway.config.startup = [{ command = "mako"; }];
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;
};
};
}