use yellow on grey

This commit is contained in:
Dustin Kirkland 2011-12-14 11:15:37 -06:00
commit 58113f2d4e
3 changed files with 3 additions and 3 deletions

1
debian/changelog vendored
View file

@ -5,6 +5,7 @@ byobu (4.55) unreleased; urgency=low
usr/share/man/man1/byobu.1:
- add a system entropy status item
- must use cat, can't use read in dash here
- use yellow on grey
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 09 Dec 2011 20:38:02 -0600

View file

@ -23,9 +23,8 @@ __entropy_detail() {
}
__entropy() {
# Can't use 'read' here in dash, as it only reads the first byte
local e=$(cat /proc/sys/kernel/random/entropy_avail)
color K R; printf "e%s" "$e"; color --
color K Y; printf "e%s" "$e"; color --
}
# vi: syntax=sh ts=4 noexpandtab

View file

@ -47,7 +47,7 @@ Note that BYOBU_CONFIG_DIR=\fI$XDG_CONFIG_HOME/byobu\fP if defined, and \fI$HOME
\fBec2_cost\fP \- an estimation of the cost of the current boot of the system in terms of the Amazon EC2 billing model; displayed in the lower bar toward the right in green text on a black background; there is a leading '~' to indicate that this is an estimation, and the monetary units are US Dollars '$'
\fBentropy\fP \- a count of the system's current entropy in bytes; displayed in the lower bar toward the right in red text on a black background; there is a leading 'e' to indicate 'entropy'
\fBentropy\fP \- a count of the system's current entropy in bytes; displayed in the lower bar toward the right in yellow text on a dark grey background; there is a leading 'e' to indicate 'entropy'
\fBraid\fP \- note very prominently if there is a RAID failure detected, in red blinking text on a white background; the term 'RAID' notes that there is something wrong with the RAID, and if there is a rebuild/resync in progress, the percent complete is also shown