Hi,
I am using awesome 3.1~rc2-1 with this keybinding/funcion in my rc.lua
(I don't remember where I take it, anyway thanks to the original author
:-)):
-- Mod-b to hide/show default statusbar on active screen (as default in
awesome 2.3)
keybinding({ modkey }, "b", function ()
if mywibox[mouse.screen].screen == nil then
mywibox[mouse.screen].screen = mouse.screen
else
mywibox[mouse.screen].screen = nil
end
end):add()
Rest of the rc.lua is the default included in the Debian package, so:
[...]
-- Create the wibox
mywibox[s] = wibox({ position = "top", fg = beautiful.fg_normal, bg
= beautiful.bg_normal })
-- Add widgets to the wibox - order matters
mywibox[s].widgets = { mylauncher,
mytaglist[s],
mytasklist[s],
mypromptbox[s],
mytextbox,
mylayoutbox[s],
s == 1 and mysystray or nil }
mywibox[s].screen = s
[...]
The hide/show statusbar funcion works ok, except for the systray, that
is missed after the first hide operation. Any idea about what's
happening?
Thanks a lot.
Emilio
--
To unsubscribe, send mail to [EMAIL PROTECTED]