summaryrefslogtreecommitdiff
path: root/home/apps/mako.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/apps/mako.nix')
-rw-r--r--home/apps/mako.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/home/apps/mako.nix b/home/apps/mako.nix
new file mode 100644
index 0000000..52e7762
--- /dev/null
+++ b/home/apps/mako.nix
@@ -0,0 +1,33 @@
+{
+ config,
+ lib,
+ ...
+}: let
+ inherit (lib) mkIf;
+ cfg = config.apps.mako;
+in {
+ config = mkIf cfg.enable {
+ services.mako = {
+ enable = false; # now using astal
+
+ settings = {
+ font = "${config.theme.font.monospace} 11";
+
+ margin = toString config.theme.outerGap;
+ padding = toString config.theme.innerGap;
+
+ background-color = "#${config.theme.colors.base}";
+ progress-color = "#${config.theme.colors.primary}";
+ text-color = "#${config.theme.colors.text}";
+
+ border-color = "#${config.theme.colors.text}";
+ border-size = config.theme.borderWidth;
+ border-radius = config.theme.outerRadius;
+
+ default-timeout = 5000;
+ layer = "overlay";
+ icons = true;
+ };
+ };
+ };
+}