X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/91882180214426b521217649e40adbb0055ed71e..025508ce835c3a83484b4d32c179347e51498e9f:/util/markup.lua 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(...)