Add hide status bar hotkey Mod+P

This commit is contained in:
Arkhist 2020-02-16 15:00:49 +01:00
parent c26403057c
commit 6198fa4148

View File

@ -351,6 +351,15 @@ root.buttons(gears.table.join(awful.button({}, 3, function() mymainmenu:toggle()
-- }}} -- }}}
-- {{{ Key bindings -- {{{ 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( hotkey.registerKeys(
awful.key({ config.keys.modkey, }, "s", hotkeys_popup.show_help, awful.key({ config.keys.modkey, }, "s", hotkeys_popup.show_help,
{ description = "show help", group = "awesome" }), { description = "show help", group = "awesome" }),