2015-09-20 16:42:24 +02:00
|
|
|
---------------------------------------------------------------------------
|
|
|
|
--- 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"),
|
|
|
|
}
|
2019-01-14 01:47:33 +01:00
|
|
|
|
2019-01-14 05:56:11 +01:00
|
|
|
--- This is the same as awful.hotkeys_popup.widget.show_help.
|
2019-01-14 01:47:33 +01:00
|
|
|
--
|
|
|
|
-- example usage:
|
2019-01-14 05:56:11 +01:00
|
|
|
--
|
2019-01-14 01:47:33 +01:00
|
|
|
-- 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
|
2019-01-14 05:56:11 +01:00
|
|
|
-- @tparam[opt] client c The hostkeys for the client "c".
|
|
|
|
-- @tparam[opt] screen s The screen.
|
|
|
|
-- @tparam[opt=true] boolean show_args.show_awesome_keys Show AwesomeWM hotkeys.
|
|
|
|
-- When set to `false` only app-specific hotkeys will be shown.
|
2019-06-08 01:08:05 +02:00
|
|
|
-- @staticfct awful.hotkeys_popup.show_help
|
2019-01-14 05:56:11 +01:00
|
|
|
-- @see awful.hotkeys_popup.widget.show_help
|
2019-01-14 01:47:33 +01:00
|
|
|
|
2015-09-20 16:42:24 +02:00
|
|
|
hotkeys_popup.show_help = hotkeys_popup.widget.show_help
|
|
|
|
return hotkeys_popup
|
2015-12-12 17:42:33 +01:00
|
|
|
|
|
|
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|