Actionless Loveless
c539e0e435
hotkeys_popup: expose labels and remove unused backspace translation ( #3585 )
...
the actual key is BackSpace, not Backspace, so this translation was always unused
Co-authored-by: Lucas Schwiderski <4508454+sclu1034@users.noreply.github.com>
2022-03-21 18:09:49 +01:00
actionless
6b93661048
fix(awful: hotkeys_popup: insert_keys): handle case when user actually binded some key like `<` or `>` which require xml escape for pango
2021-04-23 07:52:17 +02:00
Yauhen Kirylau
a35acea61a
Merge branch 'master' into hotkeys-popup-better-split-key-labels
2021-04-23 07:23:26 +02:00
actionless
a2674c2d14
feat(awful: hotkeys_poup): better visually split multiple keys
2020-09-26 04:43:12 +02:00
kdrobnyh
97c3849ae7
Fixed showing hotkeys_popup on the focused screen ( #3164 )
2020-09-08 22:10:21 -07:00
actionless
20a79ed448
fix(awful: hotkeys_popup: widget: create_column): correct max label width detection
2020-09-04 23:54:57 +02:00
actionless
901bb3d88e
fix(awful: hotkeys_popup: widget: create_group_columns): correct max label height detection
2020-09-04 23:54:57 +02:00
ArenaL5
e97eeff187
Label numeric keypad Enter to hotkeys_popup
...
When adding human-readable key names to `lib/awful/hotkeys_popup/widget.lua`, I forgot to add the Enter key in the numeric keypad to the list.
Signed-off-by: ArenaL5 <arenal5@gmx.com>
2020-05-12 20:20:19 +02:00
Seth Barberee
5c7574bce8
convert hotkeys_popup to awful.popup instead of wibox
2020-03-19 10:51:51 -05:00
ArenaL5
e7436f132f
Expose get_key_name under awful.keyboard as suggested by @Elv13
...
and change comments and declaration style to match the rest of the codebase
Signed-off-by: ArenaL5 <arenal5@gmx.com>
2020-03-14 19:33:04 -04:00
ArenaL5
131b25473f
Integration of `get_key_name()` in `hotkeys_popup`
...
Signed-off-by: ArenaL5 <arenal5@gmx.com>
2020-03-14 19:04:08 -04:00
Seth Barberee
cbb03d1a0d
add example for hotkeys_popup.widget
2020-03-06 07:09:29 -06:00
ArenaL5
2d3f7e1e94
Clarify documentation of `widget.merge_duplicates`
...
Signed-off-by: ArenaL5 <arenal5@gmx.com>
2020-02-21 00:07:52 +01:00
ArenaL5
7517bf6fae
Add ability to abbreviate merged entries in awful.hotkeys_popup
...
Signed-off-by: ArenaL5 <arenal5@gmx.com>
2020-02-20 02:51:51 +01:00
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