Emmanuel Lepage Vallee
39c90b8303
hotkeys: Port away from awful.rules
2020-01-19 02:39:30 -05:00
Emmanuel Lepage Vallee
1f604a73c9
awful.key: Support multiple keys per `awful.key` objects.
...
This allows to support the arrows, numpad or numrow using a single
object. This will simplify some code, including `rc.lua`.
2019-12-05 22:48:56 -05:00
mergify[bot]
344964a44a
Merge pull request #2529 from actionless/hotkeys-popup-dont-show-empty-groups
...
fix(awful: hotkeys_popup): don't show group label if group itself is empty
2019-10-12 22:14:48 +00:00
actionless
beb54c7d5f
fix(awful: hotkeys_popup): don't show group label if group itself is empty
...
1) factor out grouplabel-related logic into _create_group_columns() method
2) check the number of keys in group before calling that method
2019-10-11 15:31:57 +02:00
Emmanuel Lepage Vallee
2c08c2fa39
quality: Port all legacy `:buttons()` to `.buttons`.
2019-10-06 03:50:56 -04:00
Emmanuel Lepage Vallee
90a29f92eb
doc: Fix all the property, theme and field types.
2019-06-08 18:14:14 -04:00
Emmanuel Lepage Vallee
b4ece0f053
doc: Use an explicit tag for all static functions.
...
This way their name doesn't get mangle by the broken magic. It will also
eventually allow to `error()` in the template when the implicit
`@function` is used.
This commit also fixes a large number of issues found while
proof-reading everything.
2019-06-08 18:14:13 -04:00
Emmanuel Lepage Vallee
11d7a614d9
doc: Add a constructor stereotype for everything.
...
This forces the constructor functions to be at the top of the API
documentation rather than in a random position.
2019-06-08 18:13:42 -04:00
Emmanuel Lepage Vallee
f1dceb02f6
doc: Move all popups to a section.
2019-06-08 18:13:42 -04:00
actionless
1da5554fdc
fix(hotkeys_popup): rebase fix for keygrabber instance
2018-12-17 16:29:36 +01:00
Emmanuel Lepage Vallée
7231087bdb
Update widget.lua
2018-12-17 16:29:36 +01:00
Peter Nerlich
e55cc7c912
stop keygrabber on hide through click
...
fixes #2434
2018-12-17 16:29:36 +01:00
actionless
b6b6bc0bd6
feat(awful: hotkeys_popup): add args.show_awesome_keys option
...
Update lib/awful/hotkeys_popup/widget.lua
Update lib/awful/hotkeys_popup/widget.lua
fix(awful: hotkeys_popup): caching issue if showing the same widget instance with and without AwesomeWM hotkeys
doc(awful: hotkeys_popup): extend docstring for args.show_awesome_keys
2018-11-03 17:27:29 +01:00
Emmanuel Lepage Vallee
efe82faf1c
hotkey_popup: Use awful.keygrabber instead of capi.keygrabber
2018-08-06 19:03:25 -04:00
Uli Schlachter
f8678d39a4
Fix parameters docs in awful.hotkeys_popup.widget
...
This fixes broken API docs introduced in commit c183588ba1
.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-04-08 11:15:03 +02:00
Jonathan
c183588ba1
Allow to add group rules to hotkeys_popup default instance
2017-04-03 17:49:50 +02:00
Kevin Zander
2f105eac86
Move string functions out of awful.util into new gears.string ( #1584 )
...
Update deprecated awful.util string function calls to gears.string calls
2017-03-11 18:57:32 -05:00
Kevin Zander
c3461b535c
gears: Move awful.util.table to gears.table ( #1641 )
...
* Move table functions out of awful.util into new gears.table
* travis: Use v9999 prefix for full requests
Make sure no newly deprecated functions are used
* Move all `awful.util.table.*` calls to `gears.table.*` calls
Move table test functions from awful/util_spec to new gears/table_spec
Change awful.util.subsets call to gears.math.subsets in awful/key.lua
2017-03-08 15:18:33 -05:00
Yauhen Kirylau
148723f053
refactor(awful: hotkeys_popup): expose configuration options for a widget instance and use more object-oriented structure for the widget ( #1533 )
...
* refactor(awful: hotkeys_popup): expose configuration options for a widget instance and use more object-oriented structure for the widget
closes #1352
closes #1497
* doc(awful: hotkeys_popup): add @beautiful docstrings
* fix(awful: hotkeys_popup): add label_bg for misc labels; improve @beautiful docstrings
2017-02-10 19:50:10 +01:00
actionless
3cc613fa20
test(awful: hotkeys_popup): add a minimal test
2017-02-05 21:32:43 +01:00
getzze
c0c083bf7d
hotkeys_popup: add custom keys to existing groups ( #1504 )
2017-02-02 22:44:24 +01:00
Yauhen Kirylau
f9975f763c
Avoid cyclic dependency between awful and menubar ( #1433 )
2017-01-23 22:51:41 +01:00
Yauhen Kirylau
bfb3534955
doc(awful: hotkeys_popup): change variable names to fix ldoc result and add one missing docstring ( #1396 )
2017-01-17 10:13:26 +01:00
Yauhen Kirylau
f69769f7ba
fix(awful: hotkeys_popup): use new widget api in pagination ( #1384 )
2017-01-11 13:12:38 +01:00
actionless
3fea2db8c5
feat(awful: hotkeys_popup): add possibility to create new widget instance
2016-11-21 13:44:20 +01:00
Uli Schlachter
259c4f716f
Remove @release @AWESOME_VERSION@ everywhere ( #1157 )
...
It does not provide much value. The version number is already known to
ldoc globally in the "description" variable.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-10-09 22:36:20 +02:00
Emmanuel Lepage Vallee
1ede1acc9d
hotkey_popup: Do not use the deprecated geometry access
2016-09-11 02:10:02 -04:00
Emmanuel Lepage Vallee
d85588babe
wibox: Create a container module
...
Previously, the "containers" were placed in layout or widget.
They all have similar APIs and usage, so lets bring them together.
2016-05-30 17:51:19 -04:00
Uli Schlachter
c75741c578
Fix luacheck warnings for the rest of awful
...
This fixes *most* luacheck warnings in awful. However, some non-trivial ones
remain for latter.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-11 21:55:32 +01:00
actionless
901771e51b
feat(awful: hotkeys): extended matching rules
2016-02-11 12:33:02 +01:00
actionless
4aaedb0f86
fix(awful: hotkeys): restore continuation symbol
2016-02-11 03:43:13 +01:00
actionless
333c5cd31c
fix(awful: hotkeys): case when description is missing (+prettify)
2016-02-11 03:32:11 +01:00
actionless
3a9f7a1cee
fix(awful: hotkeys): compute length of the line correctly
2016-02-11 01:04:54 +01:00
actionless
64bd09d38d
fix(awful: hotkeys): fix sorting of hotkeys
2016-02-11 00:54:47 +01:00
actionless
8a9ae1a073
feat(awful: hotkeys widget): merge hotkeys with the same modifiers and descriptions
2016-02-04 13:14:45 +01:00
actionless
f19b38d45b
fix(awful: hotkeys): caching on multiscreen setup
2016-01-14 17:57:55 +01:00
actionless
0516203610
feat(lib: awful: hotkeys_popup): widget to show awesome and third-party keybindings
...
Closes https://github.com/awesomeWM/awesome/pull/421 .
2015-12-02 01:02:15 +01:00