1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-03 04:33:30 -05:00
polybar/include/drawtypes
dvermd 98dffc292a
feat(xkeyboard): Icon matching using variant (#2521)
* feat(string_util): add contains_nocase

* feat(xkeyboard): Enable icon by variant

* Cleanup

* string_util: add some cases to string test

* string_util: rename contains_nocase -> contains_ignore_case

* layouticonset: use contains_ignore_case

* layouticonset: apply renamings and remove dead code

* remove VARIANT_NONE and use empty string instead

* use emplace_back and add assert

* layouticonset: precompute condition

* xkeyboard: restore missing continue

* Cleanup parse_icons

* Always choose the first case-insensitive match

* Cleanup layouticonset.get

* update the changelog

Co-authored-by: patrick96 <p.ziegler96@gmail.com>
2021-10-05 12:12:47 +02:00
..
animation.hpp fix(battery): animation framerate 2020-01-23 23:45:56 +01:00
iconset.hpp refactor: Remove all mentions of icon_t 2019-04-08 09:01:48 +02:00
label.hpp Load rgba from config instead of strings. 2020-11-27 22:08:03 +01:00
layouticonset.hpp feat(xkeyboard): Icon matching using variant (#2521) 2021-10-05 12:12:47 +02:00
progressbar.hpp Load rgba from config instead of strings. 2020-11-27 22:08:03 +01:00
ramp.hpp feat(ramp): Allow specifying ramp weights (#2505) 2021-09-22 21:46:20 +02:00