On 17.04.2014 17:55, david cobac wrote: > Hi, > i have a png image file which periodically updates. > > I've tried to display it with an imagebox and a timer but there's actually > no updates in the display, here is a complete minimal (i hope) code : > > function imagew_icon() > local fic ="/tmp/image.png" > imagew:set_image(fic)
Try this: imagew:set_image(gears.surface.load_uncached("/tmp/image.png")) (And if it complains about having no idea what "gears" is, local gears = require("gears")) > end > imagew = wibox.widget.imagebox() > imagew_timer = timer({ timeout = 10 }) > imagew_timer:connect_signal("timeout", function () imagew_icon() end) > imagew_timer:start() > imagew_icon() > > thanks for any help ! > -- āIām Olaf and I like warm hugs.ā -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.