mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
bold numbers of network up/down calculations
This commit is contained in:
parent
4961e25c7b
commit
3028eb8b3b
2 changed files with 2 additions and 2 deletions
|
@ -42,4 +42,4 @@ if [ "$rate" -gt 1024 ]; then
|
||||||
rate=`echo "$rate" | awk '{printf "%.1f", $1/1024}'`
|
rate=`echo "$rate" | awk '{printf "%.1f", $1/1024}'`
|
||||||
unit="MB/s"
|
unit="MB/s"
|
||||||
fi
|
fi
|
||||||
printf "\005{= mw}v$rate $unit\005{-} "
|
printf "v\005{=b mw}$rate\005{-}\005{= mw}$unit\005{-} "
|
||||||
|
|
|
@ -43,4 +43,4 @@ if [ "$rate" -gt 1024 ]; then
|
||||||
rate=`echo "$rate" | awk '{printf "%.1f", $1/1024}'`
|
rate=`echo "$rate" | awk '{printf "%.1f", $1/1024}'`
|
||||||
unit="MB/s"
|
unit="MB/s"
|
||||||
fi
|
fi
|
||||||
printf "\005{= mw}^$rate $unit\005{-} "
|
printf "^\005{=b mw}$rate\005{-}\005{= mw}$unit\005{-} "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue