polybar-dwm/include/components
Patrick Ziegler a119c3386b
controller: Print error for duplicate modules (#1534)
* refactor: Use flat module list if possible

Before if you wanted to iterate over all loaded modules you had to first
iterate over all blocks and then over their modules even if you didn't
care about alignment.

* refactor: setup modules in separate function

* controller: Print error for duplicate modules

You can't use the same name twice inside the module lists

E.g.

  modules-left = a b c
  modules-center = a
  modules-right = b

would print an error.

We only print an error for now because we don't want to break existing
configs. But in the future this should be properly enforced.
2019-10-21 10:20:45 +02:00
..
bar.hpp feat(border): Percentage and pixel offset (#1592) 2019-01-12 11:48:09 +01:00
builder.hpp Incorporate Reviews 2019-08-06 21:36:20 +02:00
command_line.hpp feat(command_line): Properly handle positional args 2017-01-13 04:47:25 +01:00
config_parser.hpp config_parser: Introduce stricter syntax conventions (#1377) 2019-08-06 19:41:31 +02:00
config.hpp config_parser: Introduce stricter syntax conventions (#1377) 2019-08-06 19:41:31 +02:00
controller.hpp controller: Print error for duplicate modules (#1534) 2019-10-21 10:20:45 +02:00
ipc.hpp feat(render): support pseudo-transparency 2018-10-04 15:52:03 +02:00
logger.hpp refactor: Integral types 2017-01-24 07:11:14 +01:00
parser.hpp Incorporate Reviews 2019-08-06 21:36:20 +02:00
renderer.hpp Incorporate Reviews 2019-08-06 21:36:20 +02:00
screen.hpp refactor(x11): Cleanup 2017-01-24 10:49:14 +01:00
taskqueue.hpp refactor(modules): Move setup to constructor 2016-12-21 08:00:09 +01:00
types.hpp Incorporate Reviews 2019-08-06 21:36:20 +02:00