mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
* bin/disk-used: must change colors back to default
after printing disk used Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
b99d33bef1
commit
9ce20f41aa
1 changed files with 1 additions and 1 deletions
|
@ -33,4 +33,4 @@ fi
|
||||||
[ -r "$HOME/.$PKG/disk" ] && MP=`cat "$HOME/.$PKG/disk"` || MP="/"
|
[ -r "$HOME/.$PKG/disk" ] && MP=`cat "$HOME/.$PKG/disk"` || MP="/"
|
||||||
|
|
||||||
used=`df -h "$MP" | tail -n 1 | sed "s/%.*$/%/" | sed "s/^.* //"`
|
used=`df -h "$MP" | tail -n 1 | sed "s/%.*$/%/" | sed "s/^.* //"`
|
||||||
printf "\005{= MW}%s%s" "$used" "$whitespace"
|
printf "\005{= MW}%s\005{-}%s" "$used" "$whitespace"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue