From 68eb771568e73a23c5815b7e3531be5d5a94de0f Mon Sep 17 00:00:00 2001 From: Lyndon Sanche Date: Wed, 20 Jul 2022 12:41:42 -0600 Subject: [PATCH] Initial mako config --- flake.nix | 1 + modules/mako.nix | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 modules/mako.nix diff --git a/flake.nix b/flake.nix index 7261b47..6ffd981 100644 --- a/flake.nix +++ b/flake.nix @@ -65,6 +65,7 @@ ./modules/helix.nix ./modules/kitty.nix ./modules/lightdm.nix + ./modules/mako.nix ./modules/plymouth ./modules/qutebrowser.nix ./modules/sway.nix diff --git a/modules/mako.nix b/modules/mako.nix new file mode 100644 index 0000000..07aca6b --- /dev/null +++ b/modules/mako.nix @@ -0,0 +1,28 @@ +{pkgs, config, lib, ... }: + +with config.lib.stylix.colors.withHashtag; +with config.stylix.fonts; +{ + # Referenced https://github.com/stacyharper/base16-mako + home-manager.sharedModules = [{ + 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} + ''; + }; + }]; +}