awesome: allow toggling the wibar with Mod+b

This commit is contained in:
Oliver Davies 2024-07-10 22:48:24 +01:00
parent a2ed026258
commit 2b157d1275

View file

@ -498,6 +498,11 @@ for i = 1, 9 do
end end
end, { description = "view tag #" .. i, group = "tag" }), end, { description = "view tag #" .. i, group = "tag" }),
awful.key({ modkey }, "b", function()
local myscreen = awful.screen.focused()
myscreen.mywibox.visible = not myscreen.mywibox.visible
end, { description = "toggle statusbar" }),
-- Toggle tag display. -- Toggle tag display.
awful.key({ modkey, "Control" }, "#" .. i + 9, function() awful.key({ modkey, "Control" }, "#" .. i + 9, function()
local screen = awful.screen.focused() local screen = awful.screen.focused()