1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-11 13:50:56 -05:00
polybar/tests/unit_tests
TheDoctor314 55eb19fdc7
feat(ramp): Allow specifying ramp weights (#2505)
* feat(ramp) Implement ramp weights

*Add test for ramp weights

*[drawtypes/ramp] Implement ramp weights

Simply clone `label_t` weight no. of times in the icon list
This helps us not to change any of the calculations.

*Fix silly bug

Forgot to add a hyphen for the `weight` parameter.

Co-authored-by: Patrick Ziegler <p.ziegler96@gmail.com>

*doc: add #1750 to CHANGELOG

* Fix compile error in ramp test

Use std::make_shared.
2021-09-22 21:46:20 +02:00
..
components Add initial support for an escape character (#2361) 2021-01-26 19:16:29 +01:00
drawtypes feat(ramp): Allow specifying ramp weights (#2505) 2021-09-22 21:46:20 +02:00
tags Add more dispatch tests 2021-02-12 20:01:22 +01:00
utils Add tests for env_util 2021-09-21 21:43:27 +02:00