yambar/modules
Daniel Eklöf 4100922b7a module/i3: allow 'content' to also contain a regular 'label'
Previously, the 'content' of i3 was a map, where the keys where i3
workspace names, mapping to a particle template.

Now, that configuration type is still allowed. But we also allow a
variant where the 'content' is a list, of either 1 or 2 entries.

Both entries *must* be dictionaries. The key is either 'dynlist',
which is the same as the dictionary-only type of
configuration. I.e. it maps to a dictionary where the keys are
workspace names, mapping to particle templates.

If the key is *not* dynlist, then it is assumed to be a particle name,
and we treat that as a "regular" label, that will be appended after
the workspace dynlist when instantiating the content.

This particle will be instantiated with, for now, the title and
application of the _currently focused_ workspace.
2019-02-10 12:29:33 +01:00
..
alsa.c modules: use calloc() instead of malloc() 2019-02-09 11:11:31 +01:00
backlight.c modules: use calloc() instead of malloc() 2019-02-09 11:11:31 +01:00
battery.c modules: use calloc() instead of malloc() 2019-02-09 11:11:31 +01:00
clock.c modules: use calloc() instead of malloc() 2019-02-09 11:11:31 +01:00
CMakeLists.txt cmake: need CMake >= 3.13 since we use target_link_options() 2019-02-07 12:26:05 +01:00
i3.c module/i3: allow 'content' to also contain a regular 'label' 2019-02-10 12:29:33 +01:00
label.c modules: use calloc() instead of malloc() 2019-02-09 11:11:31 +01:00
mpd.c modules: use calloc() instead of malloc() 2019-02-09 11:11:31 +01:00
network.c modules: use calloc() instead of malloc() 2019-02-09 11:11:31 +01:00
removables.c modules: use calloc() instead of malloc() 2019-02-09 11:11:31 +01:00
xkb.c modules: use calloc() instead of malloc() 2019-02-09 11:11:31 +01:00
xwindow.c cmake: break out bar stuff to separate CMakeLists.txt 2019-02-07 12:06:16 +01:00