X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/63c18e957fc52e16cc47541a274a707c49399929..2b193e42dadcd928d0122c243b231b71e55b9784:/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 ----------------------------