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 [email protected].

Reply via email to