X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/91882180214426b521217649e40adbb0055ed71e..ca0bac403f4c52300454fd26e46a5deb570cfda6:/util/markup.lua?ds=inline diff --git a/util/markup.lua b/util/markup.lua index 6d1331e..63f9486 100644 --- a/util/markup.lua +++ b/util/markup.lua @@ -25,37 +25,37 @@ function markup.small(text) return format("%s", text) end -- Set the font function markup.font(font, text) - return format("%s", font, text) + return format("%s", font, text) end -- Set the foreground function markup.fg.color(color, text) - return format("%s", fg, bg, text) + return format("%s", color, text) end -- Set the background function markup.bg.color(color, text) - return format("%s", fg, bg, text) + return format("%s", color, text) end -- Set foreground and background function markup.color(fg, bg, text) - return format("%s", fg, bg, text) + return format("%s", fg, bg, text) end -- Set font and foreground function markup.fontfg(font, fg, text) - return format("%s", font, fg, text) + return format("%s", font, fg, text) end -- Set font and background function markup.fontbg(font, bg, text) - return format("%s", font, bg, text) + return format("%s", font, bg, text) end -- Set font, foreground and background function markup.fontcolor(font, fg, bg, text) - return format("%s", font, fg, bg, text) + return format("%s", font, fg, bg, text) end -- link markup.{fg,bg}(...) calls to markup.{fg,bg}.color(...)