mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
* temp_f, temp_c: use degree character
Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
206fd37324
commit
7297b18e93
3 changed files with 4 additions and 3 deletions
|
@ -29,6 +29,6 @@ fi
|
||||||
|
|
||||||
for i in `ls "$DIR/"*"/temperature"`; do
|
for i in `ls "$DIR/"*"/temperature"`; do
|
||||||
t=$(sed "s/^[^0-9]\+//" "$i" | sed "s/\s.*$//")
|
t=$(sed "s/^[^0-9]\+//" "$i" | sed "s/\s.*$//")
|
||||||
printf "\005{=b kY}%s\005{-}\005{= kY}C\005{-} " "$t"
|
printf "\005{=b kY}%s\005{-}\005{= kY}\260C\005{-} " "$t"
|
||||||
break
|
break
|
||||||
done
|
done
|
||||||
|
|
|
@ -25,6 +25,6 @@ fi
|
||||||
|
|
||||||
for i in `ls "$DIR/"*"/temperature"`; do
|
for i in `ls "$DIR/"*"/temperature"`; do
|
||||||
t=$(sed "s/^[^0-9]\+//" "$i" | sed "s/\s.*$//" | awk '{printf "%.0f", $1 *9/5 + 32}')
|
t=$(sed "s/^[^0-9]\+//" "$i" | sed "s/\s.*$//" | awk '{printf "%.0f", $1 *9/5 + 32}')
|
||||||
printf "\005{=b kY}%s\005{-}\005{= kY}F\005{-} " "$t"
|
printf "\005{=b kY}%s\005{-}\005{= kY}\260F\005{-} " "$t"
|
||||||
break
|
break
|
||||||
done
|
done
|
||||||
|
|
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -2,9 +2,10 @@ byobu (2.25) unreleased; urgency=low
|
||||||
|
|
||||||
* hostname, ip_address, mem_available: make sure statusrc exists
|
* hostname, ip_address, mem_available: make sure statusrc exists
|
||||||
before sourcing it, LP: #407478
|
before sourcing it, LP: #407478
|
||||||
|
* temp_f, temp_c: use degree character
|
||||||
|
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 02 Aug 2009 09:54:39 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 02 Aug 2009 21:45:56 -0400
|
||||||
|
|
||||||
byobu (2.24-0ubuntu1) karmic; urgency=low
|
byobu (2.24-0ubuntu1) karmic; urgency=low
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue