X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/fadc722655b2ba4ebe98eece3498da3c88f8b6fc..4447d997412e4d13fc80686e99ef38ea9d6ca18f:/util/markup.lua?ds=sidebyside
diff --git a/util/markup.lua b/util/markup.lua
index 346cfe1..0d3b17a 100644
--- a/util/markup.lua
+++ b/util/markup.lua
@@ -44,6 +44,16 @@ function markup.color(fg, bg, text)
return string.format('%s', fg, bg, text)
end
+-- Set font and foreground.
+function markup.fontfg(font, fg, text)
+ return string.format('%s', font, fg, text)
+end
+
+-- Set font and background.
+function markup.fontbg(font, bg, text)
+ return string.format('%s', font, bg, text)
+end
+
-- Set font, foreground and background.
function markup.fontcolor(font, fg, bg, text)
return string.format('%s', font, fg, bg, text)