fix temperature printing, add whitespace after mail

This commit is contained in:
Dustin Kirkland 2011-01-20 16:53:26 -06:00
commit 520fbe58ca
3 changed files with 3 additions and 3 deletions

View file

@ -46,7 +46,7 @@ for i in $MONITORED_TEMP /sys/class/hwmon/hwmon*/temp*_input /proc/acpi/ibm/ther
t=$(echo "$t" | awk '{printf "%.0f", $1 *9/5 + 32}') t=$(echo "$t" | awk '{printf "%.0f", $1 *9/5 + 32}')
unit="F" unit="F"
fi fi
printf "$(color b k Y)%s$(color -)$(color k Y)\260%s$(color -) " "$t" "$unit" printf "$(color b k Y)%s$(color -)$(color k Y)%s$(color -) " "$t" "$unit"
break break
fi fi
done done

View file

@ -26,4 +26,4 @@ if [ "$1" = "--detail" ]; then
exit 0 exit 0
fi fi
[ -s "$mailfile" ] && printf "$(color w k)[M]$(color -)" || exit 0 [ -s "$mailfile" ] && printf "$(color w k)[M]$(color -) " || exit 0

View file

@ -58,7 +58,7 @@ backtick 116 7 7 byobu-status processes
backtick 117 3 3 byobu-status network backtick 117 3 3 byobu-status network
backtick 118 9999999 9999999 true backtick 118 9999999 9999999 true
backtick 119 17 17 byobu-status wifi_quality backtick 119 17 17 byobu-status wifi_quality
backtick 120 9999999 9999999 byobu-status date backtick 120 28793 28793 byobu-status date
backtick 121 9999999 9999999 byobu-status time backtick 121 9999999 9999999 byobu-status time
backtick 122 127 127 byobu-status ip_address backtick 122 127 127 byobu-status ip_address
backtick 123 13 13 byobu-status disk backtick 123 13 13 byobu-status disk