Expose the taglist/tasklist constructor arguments as properties
Output of awesome --version:
awesome v4.3 (Too long) • Compiled against Lua 5.3.6 (running with Lua 5.3) • D-Bus support: ✔ • execinfo support: ✔ • xcb-randr version: 1.6 • LGI version: 0.9.2
How to reproduce the issue:
This issue is taken from a stackoverflow question https://stackoverflow.com/questions/69626893/is-it-possible-to-make-tasklist-automatically-switch-to-different-layout/69637336#69637336
It is not currently possible to let a tasklist with a fixed layout wibox.layout.fixed.horizontal()
switch to wibox.layout.flex.horizontal when the tasklist is full.
Actual result:
The only current way to do this is "ugly".
Expected result:
Unapplicable.
I have the patches. I will make the PR "soon". That wont include the style properties, but wont monkey-patch the layout object anymore.
Here is the new doc https://elv13.github.io/widgets/awful.widget.tasklist.html
compared to the old one
https://awesomewm.org/apidoc/widgets/awful.widget.tasklist.html
As you can see, since this question was posted, I refactored the tasklist to no longer monkey patch the input layout. Rather, it is now a proper widget on its own. However, this is a breaking change, so I need to write a lot of tests to make sure I emulate enough of the old behavior so nobody notices.
I also added a ton of new documentation code example and images. I am halfway done doing the same for the taglist. This is mind crushingly boring...