diff --git a/liquidprompt b/liquidprompt index 09e73ab..b9c500b 100755 --- a/liquidprompt +++ b/liquidprompt @@ -1380,7 +1380,7 @@ _lp_temp_sensors() _lp_temp_acpi() { local i - for i in $(acpi -t | sed 's/.* \([-]\?[0-9]*\)\.[0-9]* degrees C$/\1/p'); do + for i in $(acpi -t | sed 's/.* \(-\?[0-9]*\)\.[0-9]* degrees C$/\1/p'); do [[ $i -gt $temperature ]] && temperature=$i done }