From 9fb7d3c0064c4dd4740e5f3a266d5f912205adc8 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Tue, 7 Apr 2009 07:58:41 -0700 Subject: [PATCH] light background for unspecified bg in uptime and users bold bitrate in wifiquality bold username and hostname --- bin/hostname | 2 +- bin/uptime | 2 +- bin/users | 2 +- bin/whoami | 2 +- bin/wifi-quality | 2 +- po/es.po | 2 +- po/fr.po | 2 +- po/screen-profiles.pot | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bin/hostname b/bin/hostname index e1ccfd36..e90b508d 100755 --- a/bin/hostname +++ b/bin/hostname @@ -20,4 +20,4 @@ at= grep -qs "^whoami=1$" "$HOME/.screen-profiles/status" && at="@" -printf "\005{= }%s%s\005{-}" "$at" $(hostname -s) +printf "\005{=b }%s%s\005{-}" "$at" $(hostname -s) diff --git a/bin/uptime b/bin/uptime index ae7f955a..d05a8062 100755 --- a/bin/uptime +++ b/bin/uptime @@ -21,7 +21,7 @@ # u=$(sed "s/\..*$//" /proc/uptime) -printf "\005{= b}" +printf "\005{= wb}" if [ "$u" -gt 86400 ]; then echo "$u" | awk '{printf "%dd%dh", $1 / 86400, ($1 % 86400)/3600 }' elif [ "$u" -gt 3600 ]; then diff --git a/bin/users b/bin/users index e04b52ba..54f5a99e 100755 --- a/bin/users +++ b/bin/users @@ -20,4 +20,4 @@ # along with this program. If not, see . # -printf "\005{= r}%d#\005{-} " `who | wc -l` +printf "\005{= wr}%d#\005{-} " `who | wc -l` diff --git a/bin/whoami b/bin/whoami index fcea5d9d..20d136f0 100755 --- a/bin/whoami +++ b/bin/whoami @@ -17,4 +17,4 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -printf "\005{= }%s\005{-}" $(whoami) +printf "\005{=b }%s\005{-}" $(whoami) diff --git a/bin/wifi-quality b/bin/wifi-quality index dca2131d..0a3af68f 100755 --- a/bin/wifi-quality +++ b/bin/wifi-quality @@ -21,4 +21,4 @@ interface=`route -n | tail -n 1 | sed "s/^.* //"` bitrate=`iwconfig "$interface" 2>/dev/null | grep "Bit Rate=" | sed "s/^.*Bit Rate=//" | sed "s/ .*$//g"` [ -z "$bitrate" ] && bitrate="0" quality=`iwconfig "$interface" 2>/dev/null | grep "Link Quality=" | sed "s/^.*Link Quality=//" | sed "s/ .*$//g"` -echo "$bitrate" "$quality" | awk '{printf "\005{= Ck}%sMb/s,\005{-}\005{=b Ck}%.0f\005{-}\005{= Ck}%%\005{-} ", $1, $2}' +echo "$bitrate" "$quality" | awk '{printf "\005{=b Ck}%s\005{-}\005{= Ck}Mb/s,\005{-}\005{=b Ck}%.0f\005{-}\005{= Ck}%%\005{-} ", $1, $2}' diff --git a/po/es.po b/po/es.po index f5a675ea..6212e5b4 100644 --- a/po/es.po +++ b/po/es.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-04-07 07:50-0700\n" +"POT-Creation-Date: 2009-04-07 07:57-0700\n" "PO-Revision-Date: 2008-12-22 01:01-0500\n" "Last-Translator: Nicolas Valcarcel \n" "Language-Team: LANGUAGE \n" diff --git a/po/fr.po b/po/fr.po index 464f6de6..5264d4fd 100644 --- a/po/fr.po +++ b/po/fr.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-04-07 07:50-0700\n" +"POT-Creation-Date: 2009-04-07 07:57-0700\n" "PO-Revision-Date: 2008-12-17 23:42+0100\n" "Last-Translator: Nicolas Barcet \n" "Language-Team: LANGUAGE \n" diff --git a/po/screen-profiles.pot b/po/screen-profiles.pot index 4e37fbc1..b56a8fae 100644 --- a/po/screen-profiles.pot +++ b/po/screen-profiles.pot @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-04-07 07:50-0700\n" +"POT-Creation-Date: 2009-04-07 07:57-0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"