On 04.01.2012 02:38, Jack Holborn wrote: > Thanks for your reply Uli. > Yes I'm talking about git/master (awesome -v: v3.4-602-gf287219). > Well, you can find my full setup at: > https://github.com/JackH79/.dotfiles/tree/master/.config/awesome > Specifically, I use the wibox.visible function to hide some network widgets > when I'm not connected (the section can be found in the > widgetsbottom.lua:45 file). > It's been working like this for years for me. Now it doesn't any more. > Maybe it's got something to do with the new way the "mywibox" is being > assembled in the creation section (creation.lua:83 (and yes, the lines are > only commented out because it doesn't work as expected ;-) )). Or maybe > it's something else. I don't know. Thanks for any help though. > Cheers > Jack
Oh, you aren't trying to hide a wibox, you are trying to hide individual widgets! I didn't even remember that was possible in 3.4. My current proposal would be a hack using wibox.layout.margin: Your current netdownwidget becomes netdownidget_internal and instead you do: netdownwidget = wibox.layout.margin(netdownwidget_internal) Then, instead of doing netdownwidget.visible = false you do netdownwidget:set_widget(nil) And instead of netdownwidget.visible = true you do netdownwidget:set_widget(netdownwidget_internal) Yes, of course this is just a hack, but at least this hack doesn't require me to change anything in awesome. ;-) Uli -- A learning experience is one of those things that say, 'You know that thing you just did? Don't do that.' -- Douglas Adams -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.