27 lines
931 B
Lua
27 lines
931 B
Lua
---------------------------------------------------------------------------
|
|
--- Popup widget which shows current hotkeys and their descriptions.
|
|
--
|
|
-- @author Yauheni Kirylau <yawghen@gmail.com>
|
|
-- @copyright 2014-2015 Yauheni Kirylau
|
|
-- @module awful.hotkeys_popup
|
|
---------------------------------------------------------------------------
|
|
|
|
local hotkeys_popup = {
|
|
widget = require("awful.hotkeys_popup.widget"),
|
|
}
|
|
|
|
--- This is the same as awful.hotkeys_popup.widget.show_help
|
|
--
|
|
-- example usage:
|
|
-- local hotkeys_popup = require("awful.hotkeys_popup")
|
|
-- myawesomemenu = {{ "hotkeys", function() hotkeys_popup.show_help() end },
|
|
-- -- <more entries>
|
|
-- }
|
|
--
|
|
-- see `awful.hotkeys_popup.widget.show_help` for more information
|
|
|
|
hotkeys_popup.show_help = hotkeys_popup.widget.show_help
|
|
return hotkeys_popup
|
|
|
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|