mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 05:53:22 -07:00
* usr/lib/byobu/include/shutil, usr/lib/byobu/wifi_quality,
usr/share/man/man1/byobu.1: LP: #1182528 - fix status colors on Red Hat, Mac OS X, and elsewhere - seems that the #nnnnnn style coloring isn't working everywhere + should probably get to the bottom of this...
This commit is contained in:
parent
946a9efc44
commit
6b3c0d1329
4 changed files with 16 additions and 11 deletions
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -7,6 +7,11 @@ byobu (5.42) unreleased; urgency=low
|
|||
- clear wifi status indicator when there is no wifi connection
|
||||
* usr/bin/byobu-select-session: LP: #1182776
|
||||
- skip sessions that are just whitespace
|
||||
* usr/lib/byobu/include/shutil, usr/lib/byobu/wifi_quality,
|
||||
usr/share/man/man1/byobu.1: LP: #1182528
|
||||
- fix status colors on Red Hat, Mac OS X, and elsewhere
|
||||
- seems that the #nnnnnn style coloring isn't working everywhere
|
||||
+ should probably get to the bottom of this...
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 09 May 2013 09:06:07 -0500
|
||||
|
||||
|
|
|
@ -60,15 +60,15 @@ color_map() {
|
|||
"m") _RET="magenta" ;;
|
||||
"c") _RET="cyan" ;;
|
||||
"w") _RET="white" ;;
|
||||
"d") _RET="color0" ;;
|
||||
"K") _RET="#555555" ;;
|
||||
"R") _RET="#FF0000" ;;
|
||||
"G") _RET="#00FF00" ;;
|
||||
"Y") _RET="#FFFF00" ;;
|
||||
"B") _RET="#0000FF" ;;
|
||||
"M") _RET="#FF00FF" ;;
|
||||
"C") _RET="#00FFFF" ;;
|
||||
"W") _RET="#FFFFFF" ;;
|
||||
"d") _RET="black" ;;
|
||||
"K") _RET="brightblack" ;;
|
||||
"R") _RET="brightred" ;;
|
||||
"G") _RET="brightgreen" ;;
|
||||
"Y") _RET="brightyellow" ;;
|
||||
"B") _RET="brightblue" ;;
|
||||
"M") _RET="brightmagenta" ;;
|
||||
"C") _RET="brightcyan" ;;
|
||||
"W") _RET="brightwhite" ;;
|
||||
*) _RET= ;;
|
||||
esac
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ __wifi_quality() {
|
|||
rm -f "$BYOBU_RUN_DIR/status.$BYOBU_BACKEND/wifi_quality"*
|
||||
return
|
||||
fi
|
||||
printf "${ICON_WIFI}"; color b C k; printf "%s" "$bitrate"; color -; color C k; printf "%s" "$ICON_MBPS"; color -; color b C k; printf "%s" "$quality"; color -; color C k; printf "%s" "$PCT"; color --
|
||||
printf "${ICON_WIFI}"; color b C w; printf "%s" "$bitrate"; color -; color C w; printf "%s" "$ICON_MBPS"; color -; color b C w; printf "%s" "$quality"; color -; color C w; printf "%s" "$PCT"; color --
|
||||
}
|
||||
|
||||
# vi: syntax=sh ts=4 noexpandtab
|
||||
|
|
|
@ -107,7 +107,7 @@ The background colors of the \fBbyobu\fP status lines can be adjusted by editing
|
|||
|
||||
\fBwhoami\fP \- the name of the user who owns the screen session; displayed in the upper bar toward the far right in bold black text on a grey background
|
||||
|
||||
\fBwifi_quality\fP \- the connection rate and signal quality of the wifi connection; displayed in the lower bar toward the right in black text on a cyan background; the connection rate is in 'Mb/s' and the signal quality is as a percentage with a trailing '%'; override the default interface by specifying an alternate interface with MONITORED_NETWORK=wlan0 in \fI$BYOBU_CONFIG_DIR/statusrc\fP
|
||||
\fBwifi_quality\fP \- the connection rate and signal quality of the wifi connection; displayed in the lower bar toward the right in white text on a cyan background; the connection rate is in 'Mb/s' and the signal quality is as a percentage with a trailing '%'; override the default interface by specifying an alternate interface with MONITORED_NETWORK=wlan0 in \fI$BYOBU_CONFIG_DIR/statusrc\fP
|
||||
|
||||
.SH SESSIONS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue