conky/functions.lua

9 lines
218 B
Lua
Raw Normal View History

2019-05-29 11:34:27 +00:00
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