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:
parent
751c21cd37
commit
4ab251f33c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue