diff --git a/simple/init.lua b/simple/init.lua index affc18c..146e8cd 100644 --- a/simple/init.lua +++ b/simple/init.lua @@ -351,6 +351,15 @@ root.buttons(gears.table.join(awful.button({}, 3, function() mymainmenu:toggle() -- }}} -- {{{ Key bindings + +hotkey.registerKeys( + awful.key({ config.keys.modkey }, "p", + function() + local screen = awful.screen.focused() + screen.mywibox.visible = not screen.mywibox.visible + end, + { description = "hide status bar", group = "screen" })) + hotkey.registerKeys( awful.key({ config.keys.modkey, }, "s", hotkeys_popup.show_help, { description = "show help", group = "awesome" }),