From 9b22b3d74ef524fc151af60cbf12a5f7ad0e2478 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Fri, 2 Aug 2013 17:18:44 -0500 Subject: [PATCH] * usr/lib/byobu/wifi_quality, usr/share/man/man1/byobu.1: - make wifi status a little easier to read --- debian/changelog | 2 ++ usr/lib/byobu/wifi_quality | 2 +- usr/share/man/man1/byobu.1 | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 17edfc4b..6c481c12 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,8 @@ byobu (5.50) unreleased; urgency=low * usr/bin/byobu-enable-prompt, usr/lib/byobu/distro, usr/lib/byobu/include/shutil, usr/lib/byobu/logo: - use a common get_distro function in a couple of places + * usr/lib/byobu/wifi_quality, usr/share/man/man1/byobu.1: + - make wifi status a little easier to read -- Dustin Kirkland Sun, 28 Jul 2013 19:51:39 -0500 diff --git a/usr/lib/byobu/wifi_quality b/usr/lib/byobu/wifi_quality index 903ed72c..4d19451d 100755 --- a/usr/lib/byobu/wifi_quality +++ b/usr/lib/byobu/wifi_quality @@ -44,7 +44,7 @@ __wifi_quality() { rm -f "$BYOBU_RUN_DIR/status.$BYOBU_BACKEND/wifi_quality"* return fi - 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 -- + 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 -- } # vi: syntax=sh ts=4 noexpandtab diff --git a/usr/share/man/man1/byobu.1 b/usr/share/man/man1/byobu.1 index 2ffc2104..d84dd3d4 100644 --- a/usr/share/man/man1/byobu.1 +++ b/usr/share/man/man1/byobu.1 @@ -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 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 +\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 .SH SESSIONS