johnhamelink
3/3/2013 - 5:29 PM

rc.lua

rsync = wibox.widget.textbox()
vicious.register(rsync, function()
    local script = io.popen("/home/john/.config/awesome/scripts/rsync.sh")
    local ret = script:read("*a")
    script:close()
    return ret
end, "$1", 20)