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
1 changed files with 9 additions and 0 deletions

View File

@ -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" }),