Are you aware of... naughty.notify({ title="Hi", text="Howdy", timeout = 3 })
-----Original Message----- From: cedlemo [mailto:cedl...@gmx.com] Sent: Sunday, 21 December 2014 1:04 AM To: awesome@naquadah.org Subject: show a wibox with a timeout Hi, I want to display a wibox (with my taglist) just for 2 or 3 seconds when the current desktop change. I have already a working solution but I would like to know if there is another way to do it. here is the function that I use: function taglist_wibox_show_hide(box) mytimer = timer({ timeout = 0 }) mytimer:connect_signal("timeout", function () print("show") box.visible=true mytimer:stop() end ) mytimer:start() mytimer1 = timer({ timeout = 2 }) mytimer1:connect_signal("timeout", function () print("hide") box.visible=false mytimer1:stop() end ) mytimer1:start() end Any ideas ? cedlemo -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org. -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.