forked from ashpie/simple-awesome
Add hide status bar hotkey Mod+P
This commit is contained in:
parent
c26403057c
commit
6198fa4148
@ -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" }),
|
||||
|
Loading…
Reference in New Issue
Block a user