Emmanuel Lepage Vallee
c7208b4bb0
layoutlist: Rename the constructor arg from `layout` to `base_layout`.
...
The documentation examples already called it that way.
2021-10-27 13:41:11 -07:00
Emmanuel Lepage Vallee
440d1560a3
layoutlist: Fix the `layout` consturctor parameter.
...
If set, it would override some important widget methods and
explode.
2021-10-27 13:41:10 -07:00
Emmanuel Lepage Vallee
2f8413acbc
layoutlist: Use `layoutlist_spacing` instead of `tasklist_spacing`.
...
Old copy/paste bug.
2021-10-27 13:38:48 -07:00
Emmanuel Lepage Vallee
c63a80de5c
layoutlist: Allow empty constructor.
2021-10-26 13:37:16 -07:00
Emmanuel Lepage Vallee
213bfbc9bd
doc: Fix a syntax issue in the layoutbox doc.
2021-10-14 14:09:47 -07:00
Emmanuel Lepage Vallee
01020a197d
layoutlist: Support scrollwheel by default.
...
It acts like the default `rc.lua` tag/tasklist widgets.
Idea from https://github.com/awesomeWM/awesome/issues/3388
2021-10-14 14:09:47 -07:00
Emmanuel Lepage Vallee
9c042fcb79
layoutlist: Fix an assert when `buttons` are specified.
...
Fix #3388
2021-10-14 14:09:47 -07:00
Emmanuel Lepage Vallee
cd2e961fcb
layoutlist: Remove the duplicate `buttons` property from doc.
2021-10-14 14:09:47 -07:00
Aire-One
20a8d902c5
doc(@supermodule): Add to awful.widget modules
2021-04-02 19:24:07 +02:00
Emmanuel Lepage-Vallee
833948ea67
doc: Polish the awful.widget doc.
...
A lot of them were missing the inheritance includes.
2019-12-21 21:53:57 -08:00
Emmanuel Lepage Vallee
f3dc57f3f4
layoutlist: Add more caching.
...
Technically this doesn't solve any memory leak, but AwesomeWM uses in
average less memory when changing the selected tab in quick succession.
This is because it has less "temporary" tables to track.
2019-08-07 04:27:56 -04:00
Emmanuel Lepage Vallee
d832b8c9b8
layoutlist: Use weak tables to store the cache.
2019-08-07 03:21:17 -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
bb51add089
doc: Move all widgets to a new section.
2019-06-08 17:49:14 -04:00
Emmanuel Lepage Vallée
8b5d79792b
doc: Fix a copy+paste mistake
...
The current `awful.widget.layoutlist` is a fork of the so far uncommitted `naughty.widget.actionlist`. It was created because some of the support code for the new `naughty` implementation needed "easier to merge" usage examples. The `layoutlist` was chosen because it was both a low hanging fruit and genuinely useful.
2019-01-27 22:01:10 -05:00
Emmanuel Lepage Vallee
8b60c05118
widget: Add a layoutlist widget
...
Like taglist and tasklist, but for layouts
2019-01-26 01:34:59 -05:00