From 9811a96528e007ea973cd7235c21611feeadc7bc Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Mon, 21 Jul 2025 02:52:28 +0200 Subject: [PATCH] flavours: customize mako template --- dot-config/flavours/config.toml | 7 +++++++ .../templates/mako/templates/alpha.mustache | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 dot-config/flavours/templates/mako/templates/alpha.mustache diff --git a/dot-config/flavours/config.toml b/dot-config/flavours/config.toml index 3851617c..e5b1f63a 100644 --- a/dot-config/flavours/config.toml +++ b/dot-config/flavours/config.toml @@ -88,6 +88,13 @@ rewrite = true [[item]] template = "mako" +subtemplate = "alpha" file = "~/.config/mako/config" hook = "makoctl reload" +[[item]] +template = "mako" +subtemplate = "alpha" +file = "/dev/null" +rewrite = true +hook = "notify-send -u low Flavours \"new theme applied\"" diff --git a/dot-config/flavours/templates/mako/templates/alpha.mustache b/dot-config/flavours/templates/mako/templates/alpha.mustache new file mode 100644 index 00000000..bf49bbd6 --- /dev/null +++ b/dot-config/flavours/templates/mako/templates/alpha.mustache @@ -0,0 +1,18 @@ +## Base16 {{scheme-name}} +# Author: {{scheme-author}} +# +# You can use these variables anywhere in the mako configuration file. + +background-color=#{{base01-hex}}aa +text-color=#{{base05-hex}} +border-color=#{{base0C-hex}} + +[urgency=low] +background-color=#{{base01-hex}}aa +text-color=#{{base0A-hex}} +border-color=#{{base0C-hex}} + +[urgency=high] +background-color=#{{base01-hex}}aa +text-color=#{{base08-hex}} +border-color=#{{base0C-hex}} -- 2.51.2