mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/lib/byobu/.constants, usr/lib/byobu/updates_available:
- use unicode double-bang for security updates where possible
This commit is contained in:
parent
782a9673b5
commit
9b4346fd58
3 changed files with 11 additions and 5 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -5,6 +5,8 @@ byobu (4.42) unreleased; urgency=low
|
|||
- add reboot symbol
|
||||
* usr/bin/byobu-launch:
|
||||
- enhance shell history syncronization across shells
|
||||
* usr/lib/byobu/.constants, usr/lib/byobu/updates_available:
|
||||
- use unicode double-bang for security updates where possible
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 14 Oct 2011 14:53:51 -0500
|
||||
|
||||
|
|
|
@ -32,6 +32,8 @@ if [ "$UTF8" = "1" ] || [ "$BYOBU_BACKEND" = "tmux" ]; then
|
|||
ICON_TRASH="♸"
|
||||
ICON_WIFI="⚚"
|
||||
ICON_REBOOT="⟳"
|
||||
ICON_UPDATES="!"
|
||||
ICON_SECURITY="‼"
|
||||
else
|
||||
ICON_C="C"
|
||||
ICON_F="F"
|
||||
|
@ -43,6 +45,8 @@ else
|
|||
ICON_TRASH="T"
|
||||
ICON_WIFI=
|
||||
ICON_REBOOT="(R)"
|
||||
ICON_UPDATES="!"
|
||||
ICON_SECURITY="!!"
|
||||
fi
|
||||
PCT="%%"
|
||||
|
||||
|
|
|
@ -24,11 +24,11 @@ ___print_updates() {
|
|||
read u s < "$1"
|
||||
if [ -n "$u" ]; then
|
||||
if [ "$u" -gt 0 ]; then
|
||||
color b r W; printf "%d" "$u"; color -; color r W; printf "!"
|
||||
if [ -n "$s" ]; then
|
||||
if [ "$s" -gt 0 ]; then
|
||||
printf "!"
|
||||
fi
|
||||
color b r W; printf "%d" "$u"; color -; color r W
|
||||
if [ -n "$s" ] && [ "$s" -gt 0 ]; then
|
||||
printf "$ICON_SECURITY"
|
||||
else
|
||||
printf "$ICON_UPDATES"
|
||||
fi
|
||||
color --
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue