diff --git a/home/.config/awesome/configuration/keybindings.lua b/home/.config/awesome/configuration/keybindings.lua index ed3a54c..548b4f0 100644 --- a/home/.config/awesome/configuration/keybindings.lua +++ b/home/.config/awesome/configuration/keybindings.lua @@ -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),