X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/c02fcdb2e9480927f7b0b21f38d20dd203b7d8bd..eb8c113fc81092e75b3270462f62a5c3736cd74b:/util/markup.lua?ds=sidebyside 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(...)