Actionless Loveless
9ca7bb487a
style(beautiful: gtk; hotkeys_popup): make new luacheck a bit happier ( #3651 )
2022-06-30 08:32:45 -07:00
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
mergify[bot]
6f047e9468
Merge pull request #3125 from actionless/hotkeys-vimdiff
...
feat(awful: hotkeys_popup: vim): add vimdiff
2020-10-07 15:04:52 +00: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
mergify[bot]
7a759432d3
Merge pull request #3044 from SethBarberee/firefox_keys_fix
...
add additional match for firefox in awful.hotkeys_popup/keys/firefox.lua
2020-08-01 23:01:50 +00:00
Yauhen Kirylau
639f0196d8
fixup: typo
2020-07-02 18:35:45 +02:00
actionless
7ec9e8018f
feat(awful: hotkeys_popup: vim): add vimdiff
2020-07-02 07:24:44 +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
6e7d235c5a
add additional match for firefox
2020-03-21 09:27:07 -05: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
71c230035c
rules: Move `awful.rules` to `ruled.client`.
...
From now on, all core object will have their own rules. `awful.rules`
hardcodes some client specific code. All `rules` module have some form
of class specific code. This code will now be part of a new module
called `ruled`. Since a year or so, a lot of work has been done to
refactor the rules on top of the shared `gears.matcher` class. This way
there wont be as much duplication.
2020-01-19 02:58:37 -05:00
Emmanuel Lepage Vallee
39c90b8303
hotkeys: Port away from awful.rules
2020-01-19 02:39:30 -05:00
actionless
75e5b8b39b
refactor(hotkeys: vim): don't add each group rule manually
2019-12-19 11:42:27 +01:00
actionless
db9334605a
fix(hotkeys: vim): don't use hardcoded colors
2019-12-19 11:38:46 +01:00
actionless
a3b4e07415
chore(hotkeys: vim): add fold-related
2019-12-19 11:37:24 +01: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
Emmanuel Lepage Vallee
4b76ca9d38
doc: Fix awful.hotkeys_popup.show_help formatting.
2019-01-13 23:57:04 -05:00
Sorky
cf5b0b51ef
Update awesomerc.lua
...
Alternative fix for hotkey_popup via awful menu showing on wrong screen
2019-01-13 23:50:58 -05:00
Emmanuel Lepage Vallee
f0df2d6e8f
doc: Merge the `termite` hotkey popup doc
...
The other components are already merged as such.
2018-12-31 17:49:14 -05: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
Emmanuel Lepage Vallee
9f7a365447
doc: Cleanup useless index entries
...
Entries such as the empty `objects.client` or `awful.hotkeys_popup.keys`
are no longer in the main index.
2017-11-19 00:46:06 -05:00
ikselven
b2fac56b9c
hotkey: added hotkeys for termite to hotkeys popup widget ( #2098 )
2017-11-06 20:41:18 +01:00
Yauhen Kirylau
c5e830cd60
fix(awful: hotkeys_popup: keys): require all modules in init.lua
2017-06-12 20:39:46 -04:00
nahsi
d368cee8aa
hotkeys-popup: tmux hotkeys
...
Closes https://github.com/awesomeWM/awesome/pull/1830 .
2017-06-12 23:03:43 +02:00
Simon Désaulniers
ffead7dcda
hotkeys_popup: keys for qutebrowser ( #1829 )
2017-06-11 00:10:42 +02:00
Uli Schlachter
87e69e8677
Add a header to hotkeys_popup.keys.firefox to make LDoc happy
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-04-08 11:18:07 +02: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