diff --git a/bin/cpu_freq b/bin/cpu_freq index 633278ab..3def2500 100755 --- a/bin/cpu_freq +++ b/bin/cpu_freq @@ -23,7 +23,7 @@ if [ "$1" = "--detail" ]; then fi if [ -r "/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq" ]; then - awk '{ printf "\005{= cW}%.1fGHz\005{-} ", $1 / 1000000 }' /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq + awk '{ printf "\005{=b cW}%.1fGHz\005{-} ", $1 / 1000000 }' /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq else - egrep -i -m 1 "^cpu MHz|^clock|^bogomips" /proc/cpuinfo | awk -F"[:.]" '{ printf "\005{= cW}%.1fGHz\005{-} ", $2 / 1000 }' + egrep -i -m 1 "^cpu MHz|^clock|^bogomips" /proc/cpuinfo | awk -F"[:.]" '{ printf "\005{=b cW}%.1fGHz\005{-} ", $2 / 1000 }' fi diff --git a/bin/disk b/bin/disk index 7e3e5624..3a786780 100755 --- a/bin/disk +++ b/bin/disk @@ -30,4 +30,4 @@ case $MP in /dev/*) MP=`grep "$MP" /proc/mounts | awk '{print $2}'` ;; esac -df -h -P "$MP" | tail -n 1 | awk '{printf "\005{= MW}%sB,%s\005{-} ", $2, $5}' +df -h -P "$MP" | tail -n 1 | awk '{printf "\005{=b MW}%sB,%s\005{-} ", $2, $5}' diff --git a/bin/mem_available b/bin/mem_available index 1ce9082f..032aba70 100755 --- a/bin/mem_available +++ b/bin/mem_available @@ -39,4 +39,4 @@ else mem="$mem" unit="KB" fi -printf "\005{= gW}%s$unit%s\005{-}%s" "$mem" "$comma" "$whitespace" +printf "\005{=b gW}%s$unit%s\005{-}%s" "$mem" "$comma" "$whitespace" diff --git a/bin/mem_used b/bin/mem_used index eb928631..6f2aeeba 100755 --- a/bin/mem_used +++ b/bin/mem_used @@ -22,4 +22,4 @@ if [ "$1" = "--detail" ]; then exit 0 fi -free | awk '/buffers\/cache:/ {printf "\005{= gW}%.0f%%\005{-} ", 100*$3/($3 + $4)}' +free | awk '/buffers\/cache:/ {printf "\005{=b gW}%.0f%%\005{-} ", 100*$3/($3 + $4)}' diff --git a/debian/changelog b/debian/changelog index 13160611..c663e6e4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,9 @@ byobu (2.19) unreleased; urgency=low - * UNRELEASED + * bin/cpu_freq, bin/disk, bin/mem_available, bin/mem_used: use bold + font for these, to help with dark colored tty's - -- Dustin Kirkland Wed, 01 Jul 2009 00:17:08 -0700 + -- Dustin Kirkland Wed, 01 Jul 2009 14:29:02 -0700 byobu (2.18-0ubuntu1) karmic; urgency=low