mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/lib/byobu/disk_io, usr/lib/byobu/mail, usr/lib/byobu/network:
- LP: #962730 - clear out cache on a few other status notifications where we go from activity, to none
This commit is contained in:
parent
e327386c51
commit
b9d88945e2
4 changed files with 15 additions and 3 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -38,6 +38,12 @@ byobu (5.20) unreleased; urgency=low
|
||||||
* usr/share/man/man1/byobu.1: LP: #977225
|
* usr/share/man/man1/byobu.1: LP: #977225
|
||||||
- add documentation about the status line background colors
|
- add documentation about the status line background colors
|
||||||
|
|
||||||
|
[ Dustin Kirkland and Daniel Lee ]
|
||||||
|
* usr/lib/byobu/disk_io, usr/lib/byobu/mail, usr/lib/byobu/network:
|
||||||
|
- LP: #962730
|
||||||
|
- clear out cache on a few other status notifications where we go
|
||||||
|
from activity, to none
|
||||||
|
|
||||||
[ https://launchpad.net/~ktyubuntu ]
|
[ https://launchpad.net/~ktyubuntu ]
|
||||||
* usr/lib/byobu/logo: LP: #1004712
|
* usr/lib/byobu/logo: LP: #1004712
|
||||||
- fix Red Hat logo detection
|
- fix Red Hat logo detection
|
||||||
|
|
|
@ -90,9 +90,11 @@ __disk_io() {
|
||||||
unit="kB/s"
|
unit="kB/s"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
[ -z "$rate" ] && continue
|
if [ -z "$rate" ] || [ "$rate" = "0" ]; then
|
||||||
[ "$rate" = "0" ] && continue
|
rm -f "$BYOBU_RUN_DIR/status.$BYOBU_BACKEND/disk_io"*
|
||||||
color b M W; printf "%s%s" "$symbol" "$rate"; color -; color M W; printf "%s" "$unit"; color --
|
else
|
||||||
|
color b M W; printf "%s%s" "$symbol" "$rate"; color -; color M W; printf "%s" "$unit"; color --
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,8 @@ __mail_detail() {
|
||||||
__mail() {
|
__mail() {
|
||||||
if [ -s "$MAILFILE" ]; then
|
if [ -s "$MAILFILE" ]; then
|
||||||
color b; printf "%s" "$ICON_MAIL"; color --
|
color b; printf "%s" "$ICON_MAIL"; color --
|
||||||
|
else
|
||||||
|
rm -f "$BYOBU_RUN_DIR/status.$BYOBU_BACKEND/mail"*
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -89,6 +89,8 @@ __network() {
|
||||||
esac
|
esac
|
||||||
[ -n "$rate" ] || continue
|
[ -n "$rate" ] || continue
|
||||||
color b m w; printf "%s%s" "$symbol" "$rate"; color -; color m w; printf "%s" "$unit"; color --
|
color b m w; printf "%s%s" "$symbol" "$rate"; color -; color m w; printf "%s" "$unit"; color --
|
||||||
|
else
|
||||||
|
rm -f "$BYOBU_RUN_DIR/status.$BYOBU_BACKEND/network"*
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue