mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
bin/disk: use bolding similar to the rest of the status notifications
This commit is contained in:
parent
2908aad423
commit
c84d108fd5
2 changed files with 2 additions and 2 deletions
2
bin/disk
2
bin/disk
|
@ -34,4 +34,4 @@ esac
|
||||||
|
|
||||||
disk=$(df -h -P "$MP" 2>/dev/null || df -h "$MP")
|
disk=$(df -h -P "$MP" 2>/dev/null || df -h "$MP")
|
||||||
disk=$(echo "$disk" | tail -n 1 | awk '{print $2 " " $5}' | sed "s/\([^0-9\. ]\)/ \1/g" | awk '{printf "%d%sB,%d%%", $1, $2, $3}')
|
disk=$(echo "$disk" | tail -n 1 | awk '{print $2 " " $5}' | sed "s/\([^0-9\. ]\)/ \1/g" | awk '{printf "%d%sB,%d%%", $1, $2, $3}')
|
||||||
printf "$(color M W)%s$(color -) " "$disk"
|
printf "$(color M W)%s$(color -) " "$disk" | sed "s/\([0-9]\+\)/$(color -)$(color b M W)\1$(color -)$(color M W)/g"
|
||||||
|
|
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -1,6 +1,6 @@
|
||||||
byobu (2.42) unreleased; urgency=low
|
byobu (2.42) unreleased; urgency=low
|
||||||
|
|
||||||
* UNRELEASED
|
* bin/disk: use bolding similar to the rest of the status notifications
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 15 Dec 2009 20:24:57 -0600
|
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 15 Dec 2009 20:24:57 -0600
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue