X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/63186a340c3841522414cc26ad37e58bf92dce1d..ee84995734048a20e920badafb305c15556c3e6c:/widget/pulsebar.lua?ds=sidebyside diff --git a/widget/pulsebar.lua b/widget/pulsebar.lua index 53bfc3b..51290f8 100644 --- a/widget/pulsebar.lua +++ b/widget/pulsebar.lua @@ -43,6 +43,7 @@ local function factory(args) local tick = args.tick or "|" local tick_pre = args.tick_pre or "[" local tick_post = args.tick_post or "]" + local tick_none = args.tick_none or " " pulsebar.colors = args.colors or pulsebar.colors pulsebar.followtag = args.followtag or false @@ -145,7 +146,7 @@ local function factory(args) "%s%s%s%s", tick_pre, string.rep(tick, int), - string.rep(" ", tot - int), + string.rep(tick_none, tot - int), tick_post )