mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
light background for unspecified bg in uptime and users
bold bitrate in wifiquality bold username and hostname
This commit is contained in:
parent
cece89bbb8
commit
9fb7d3c006
8 changed files with 8 additions and 8 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -20,4 +20,4 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
printf "\005{= r}%d#\005{-} " `who | wc -l`
|
||||
printf "\005{= wr}%d#\005{-} " `who | wc -l`
|
||||
|
|
|
@ -17,4 +17,4 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
printf "\005{= }%s\005{-}" $(whoami)
|
||||
printf "\005{=b }%s\005{-}" $(whoami)
|
||||
|
|
|
@ -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}'
|
||||
|
|
2
po/es.po
2
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 <nvalcarcel@ubuntu.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
2
po/fr.po
2
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 <nicolas.barcet@ubuntu.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue