From: Andre Ramnitz Date: Mon, 21 Jul 2025 00:52:28 +0000 (+0200) Subject: flavours: customize mako template X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=9811a96528e007ea973cd7235c21611feeadc7bc;p=dotfiles.git flavours: customize mako template --- 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}}