Thanks. I thought about doing something like this but felt it was a bit
hackish...maybe I'm just too much of a purist here. My reasoning was
that I don't really want to remove the status bar from that screen but
only want to make it invisible (when I want to hide an X window, I don't
have to remove it from the screen, I just set it to be invisible). For
now, however, I think I'll go with your solution.
Cheers,
Norbert
Gregor Best wrote:
> I use this piece of code to hide the widget box on the screen which currently
> holds the mouse pointer:
>
> -- hide / unhide current screens wibox
> keybinding({ modkey, "Mod1" }, "w", function ()
> local w = wi_widgets[mouse.screen]
> if w.screen then
> w.screen = nil
> else
> w.screen = mouse.screen
> end
> end):add()
>
> Note that I am currently using Awesome 3.1-rc1, so you may have to adapt it a
> bit to fit your version.
>
> On how to find out important variables: If I have to find out, e.g. which
> variable holds the screen the mouse cursor is currently on, I skim the default
> config for something which resembles what I want. If I don't find an answer
> there, I try to think of which awful module or library does something
> resembling what I want and look there. The libraries are really well written
> code, so it should be relatively easy to find what one is searching for.
> If neither the default config nor the libraries yield any results, I try to
> have a look at other people's configs, some of which are gathered at
> http://awesome.naquadah.org/wiki/index.php?title=User_Configuration_Files
> If I don't find anything in either of these places, I either ask in #awesome
> on
> OFTC or I try to have a look at the C-source of Awesome (which is also very
> well written and understandable)
>
> Gregor Best
>
--
To unsubscribe, send mail to [EMAIL PROTECTED]