X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/ee627f468c6f390534c551f7bc6fa1c55e4772f5..7d89def8baf408b1618a18e3a0fe8977c5f669b5:/Utilities.md diff --git a/Utilities.md b/Utilities.md index 4fc80e4..8bb7597 100644 --- a/Utilities.md +++ b/Utilities.md @@ -5,7 +5,7 @@ markup This is a submodule which helps you markupping your text. -First, call it like this: +First, require it like this: local markup = require("lain.util.markup") @@ -40,6 +40,11 @@ then you can call its functions: |`-- normal() Set both foreground and background normal colors. `-- urgent() Set both foreground and background urgent colors. +they all take one argument, which is the text to markup, except `fg.color` and `bg.color`: + + markup.fg.color(text, color) + markup.bg.color(text, color) + menu\_clients\_current\_tags ----------------------------