mirror of
https://github.com/danth/stylix
synced 2024-11-26 14:10:22 +00:00
31 lines
850 B
Nix
31 lines
850 B
Nix
{pkgs, config, lib, ... }:
|
|
|
|
with config.lib.stylix.colors.withHashtag;
|
|
with config.stylix.fonts;
|
|
{
|
|
options.stylix.targets.mako.enable =
|
|
config.lib.stylix.mkEnableTarget "Mako" true;
|
|
|
|
# Referenced https://github.com/stacyharper/base16-mako
|
|
config.home-manager.sharedModules = lib.mkIf config.stylix.targets.mako.enable [{
|
|
programs.mako = {
|
|
backgroundColor = base00;
|
|
borderColor = base0D;
|
|
textColor = base05;
|
|
progressColor = "over ${base02}";
|
|
font = sansSerif.name;
|
|
# I wish the mako hm module was like the dunst one
|
|
extraConfig = ''
|
|
[urgency=low]
|
|
background-color=${base00}
|
|
border-color=${base0D}
|
|
text-color=${base0A}
|
|
|
|
[urgency=high]
|
|
background-color=${base00}
|
|
border-color=${base0D}
|
|
text-color=${base08}
|
|
'';
|
|
};
|
|
}];
|
|
}
|