mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
* bin/load_average, bin/temp_c, bin/temp_f: fix display of yellow on
dark tty's (note, if users start complaining about their load average blinking, *this* is where that was introduced) Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
d6e12021b1
commit
287af28ad2
4 changed files with 8 additions and 4 deletions
|
@ -22,4 +22,4 @@ if [ "$1" = "--detail" ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
printf "\005{= Yk}%s\005{-} " $(awk '{print $1}' /proc/loadavg)
|
||||
printf "\005{=B Yk}%s\005{-} " $(awk '{print $1}' /proc/loadavg)
|
||||
|
|
|
@ -29,6 +29,6 @@ fi
|
|||
|
||||
for i in `ls "$DIR/"*"/temperature"`; do
|
||||
t=$(sed "s/^[^0-9]\+//" "$i" | sed "s/\s.*$//")
|
||||
printf "\005{= kY}%sC\005{-} " "$t"
|
||||
printf "\005{=b kY}%sC\005{-} " "$t"
|
||||
break
|
||||
done
|
||||
|
|
|
@ -25,6 +25,6 @@ fi
|
|||
|
||||
for i in `ls "$DIR/"*"/temperature"`; do
|
||||
t=$(sed "s/^[^0-9]\+//" "$i" | sed "s/\s.*$//" | awk '{printf "%.0f", $1 *9/5 + 32}')
|
||||
printf "\005{= kY}%sF\005{-} " "$t"
|
||||
printf "\005{=b kY}%sF\005{-} " "$t"
|
||||
break
|
||||
done
|
||||
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -2,8 +2,12 @@ byobu (2.19) unreleased; urgency=low
|
|||
|
||||
* bin/cpu_freq, bin/disk, bin/mem_available, bin/mem_used: use bold
|
||||
font for these, to help with dark colored tty's
|
||||
* bin/load_average, bin/temp_c, bin/temp_f: fix display of yellow on
|
||||
dark tty's (note, if users start complaining about their load average
|
||||
blinking, *this* is where that was introduced)
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 01 Jul 2009 14:29:02 -0700
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 01 Jul 2009 14:38:26 -0700
|
||||
|
||||
byobu (2.18-0ubuntu1) karmic; urgency=low
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue