polybar/src/drawtypes
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
..
animation.cpp Remove unused factory.hpp imports 2021-09-21 21:43:27 +02:00
iconset.cpp fix(iconset): Try exact match before fuzzy match 2020-03-19 20:52:41 +01:00
label.cpp Remove unused factory.hpp imports 2021-09-21 21:43:27 +02:00
progressbar.cpp Remove unused factory.hpp imports 2021-09-21 21:43:27 +02:00
ramp.cpp feat(ramp): Allow specifying ramp weights (#2505) 2021-09-22 21:46:20 +02:00