module/i3: add option ‘sort’

Possible values: none, ascending, descending. Sorts the workspace list
accordingly. The default value is ‘none’.
This commit is contained in:
Daniel Eklöf 2020-12-08 19:03:30 +01:00
parent 45d9dbcb34
commit 20df360937
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 54 additions and 13 deletions

View file

@ -374,6 +374,10 @@ with the _application_ and _title_ tags to replace the X11-only
: Unlike other modules, _content_ is an associative array mapping
workspace names to particles. Use *""* to specify a default
fallback particle, or *current* for the currently active workspace.
| sort
: enum
: no
: How to sort the list of workspaces; one of _none_, _ascending_ or _descending_, defaults to _none_.
| left-spacing
: int
: no