conky/functions.lua

9 lines
218 B
Lua

function conky_pad(char, length, text )
return string.rep(char, length - string.len(conky_parse(text)))
end
function conky_sub_space(replacement, str)
return string.gsub(conky_parse(str), ' ', replacement)
end