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)