From: copycat-killer Date: Sat, 28 Jan 2017 22:35:27 +0000 (+0100) Subject: markup: added fontfg and fontbg X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/19a7003b34b82423760f9187dad9e4675995ac57?ds=sidebyside;hp=-c markup: added fontfg and fontbg --- 19a7003b34b82423760f9187dad9e4675995ac57 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) diff --git a/wiki b/wiki index 3216fb7..52bb0c1 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit 3216fb787a4cb3fbefd8549b2e1323f9412e788e +Subproject commit 52bb0c1757addd08ca4de6b7c02444b32a9497ef