mirror of https://github.com/polybar/polybar.git
temperature: Use format-warn at warn-temperature not after (#1897)
This commit is contained in:
parent
751c21cd37
commit
4ab251f33c
|
@ -84,7 +84,7 @@ namespace modules {
|
||||||
}
|
}
|
||||||
|
|
||||||
string temperature_module::get_format() const {
|
string temperature_module::get_format() const {
|
||||||
if (m_temp > m_tempwarn) {
|
if (m_temp >= m_tempwarn) {
|
||||||
return FORMAT_WARN;
|
return FORMAT_WARN;
|
||||||
} else {
|
} else {
|
||||||
return DEFAULT_FORMAT;
|
return DEFAULT_FORMAT;
|
||||||
|
|
Loading…
Reference in New Issue