1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-11 13:50:56 -05:00

temperature: Use format-warn at warn-temperature not after (#1897)

This commit is contained in:
Jake Howard 2019-10-16 17:45:49 +01:00 committed by Patrick Ziegler
parent 751c21cd37
commit 4ab251f33c

View file

@ -84,7 +84,7 @@ namespace modules {
}
string temperature_module::get_format() const {
if (m_temp > m_tempwarn) {
if (m_temp >= m_tempwarn) {
return FORMAT_WARN;
} else {
return DEFAULT_FORMAT;