]> Freerunner's - dotfiles.git/commitdiff
flavours: customize mako template
authorAndre Ramnitz <tux.rising@gmail.com>
Mon, 21 Jul 2025 00:52:28 +0000 (02:52 +0200)
committerAndre Ramnitz <tux.rising@gmail.com>
Mon, 21 Jul 2025 01:08:56 +0000 (03:08 +0200)
dot-config/flavours/config.toml
dot-config/flavours/templates/mako/templates/alpha.mustache [new file with mode: 0644]

index 3851617c17a4736e6c49f9e4f0e314e31874ec40..e5b1f63a6b7916d7311846f611747e90516dddc8 100644 (file)
@@ -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 (file)
index 0000000..bf49bbd
--- /dev/null
@@ -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}}