Hi, 
I use for that action this :
        mywibox[1].screen = nil

On Fri, Jan 30, 2009 at 04:29:09PM +0100, Frank Blendinger wrote:
> Hi.
> 
> On Mon 2009-01-26 01:46, Frank Blendinger <[email protected]>
> proclaimed:
> > > I have a keybinding to toggle my statusbar:
> > > 
> > > keybinding({ modkey,           }, "b",      function ()
> > >     mywibox[mouse.screen].visible = not mywibox[mouse.screen].visible
> > > end):add() 
> > > 
> > > It works as expected, but when the wibox is hidden, both Xorg and
> > > awesome consume all the available CPU power. This behavior does not stop
> > > until I toggle the wibox back to be visible.
> > > 
> > > Tested with version 3.1.
> > 
> > The bug is also present in git-master.
> 
> I just tried it on my notebook (64 bit, single screen) and the problem
> is just the same as on my desktop machine (32 bit, dual screen in Zaphod
> mode). Both are running the latest git version.
> 
> Sorry to be picky about this one, can't anyone reproduce this? I guess
> I'm the only one that wants to hide his statusbar from time to time
> (when I'm really trying to concentrate on something and stay on the same
> tag for a long time, to have minimal distraction), but if at least
> someone could try this out and report his results would be very helpful.
> 
> All you have to do is (adapt if you have changed the name of your
> statusbar from the default config):
> 
>     echo 'mywibox[1].visible = false' | awesome-client
> 
> and keep an eye on top. Restore your statusbar with:
> 
>     echo 'mywibox[1].visible = true' | awesome-client
> 
> Thanks!
> 
> 
> Greetings,
> Frank   
> 
> -- 
> Frank Blendinger | fb(at)intoxicatedmind.net | GPG: 0x0BF2FE7A
> Fingerprint: BB64 F2B8 DFD8 BF90 0F2E 892B 72CF 7A41 0BF2 FE7A
>   "Just because I don't care doesn't mean I don't understand."
>                                                (Homer Simpson)


-- 
Radek Fér <[email protected]>

-- 
To unsubscribe, send mail to [email protected].

Reply via email to