toggle wibar

This commit is contained in:
Luca 2023-01-01 17:44:28 +00:00
parent 5c8bfa72a0
commit 9d8bbd6735

View file

@ -244,6 +244,17 @@ awful.keyboard.append_global_keybindings({
--awful.keyboard.append_global_keybindings({
-- awful.key({ modkey }, "=", function () awful.screen.focused().systray.visible = not awful.screen.focused().systray.visible end, {description = "Toggle systray visibility", group = "custom"})
--})
-- Bar :
awful.keyboard.append_global_keybindings({
awful.key({ modkey }, "=", function ()
for s in screen do
s.mywibar.visible = not s.mywibar.visible
end
end,
{description = "toggle wibox", group = "awesome"}),
})
awful.keyboard.append_global_keybindings({
awful.key({ alt }, "Tab", function() awesome.emit_signal("sidebar::toggle") end), -- Sidebar
awful.key({ alt }, "t", function() awful.titlebar.toggle(client.focus) end),