polybar/src/drawtypes
Quan 39c73a8234
feat: Warn state for cpu, memory, fs, battery modules (#2199)
* [Temperature, Ramp] fix wrong icon for temperatures near base and warn temps

* [Temperature, Ramp] fix wrong icon for temperatures near base and warn temps

* Fix minor error

* Added WARN state for cpu module

* Implement WARN state for CPU, Memory modules, working on fs module

* Implement WARN state for fs module

* Simplify WARN state implementation for cpu and memory

* explicitly check percentage in get_by_percentage_with_borders

* Fixed silly error

* implement warn state on battery module, standardize the implementation on other modules

* minor fixes

* fix annoying error

* use more intuitive param name

* Fix percentage with borders bug

* Make requested changes
Hide the effect of warn states when unused

* Backward Compat: use no format instead of fallback label

* Reformat

* Refactor

* Reformat

* Reformat: convert tabs to spaces

* Reformat
2020-12-02 15:55:13 +01:00
..
animation.cpp fix(battery): animation framerate 2020-01-23 23:45:56 +01:00
iconset.cpp fix(iconset): Try exact match before fuzzy match 2020-03-19 20:52:41 +01:00
label.cpp Load rgba from config instead of strings. 2020-11-27 22:08:03 +01:00
progressbar.cpp Load rgba from config instead of strings. 2020-11-27 22:08:03 +01:00
ramp.cpp feat: Warn state for cpu, memory, fs, battery modules (#2199) 2020-12-02 15:55:13 +01:00