mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/lib/byobu/.constants, usr/lib/byobu/reboot_required:
- fix arrows to work better with ubuntu mono font - add reboot symbol
This commit is contained in:
parent
7ef4e6578b
commit
796937c013
3 changed files with 10 additions and 6 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,6 +1,8 @@
|
|||
byobu (4.42) unreleased; urgency=low
|
||||
|
||||
* UNRELEASED
|
||||
* usr/lib/byobu/.constants, usr/lib/byobu/reboot_required:
|
||||
- fix arrows to work better with ubuntu mono font
|
||||
- add reboot symbol
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 14 Oct 2011 14:53:51 -0500
|
||||
|
||||
|
|
|
@ -24,13 +24,14 @@ PKG="byobu"
|
|||
if [ "$UTF8" = "1" ] || [ "$BYOBU_BACKEND" = "tmux" ]; then
|
||||
ICON_C="℃"
|
||||
ICON_F="℉"
|
||||
ICON_RD="◀"
|
||||
ICON_WR="▶"
|
||||
ICON_RD="◂"
|
||||
ICON_WR="▸"
|
||||
ICON_MAIL="⍌"
|
||||
ICON_UP="▲"
|
||||
ICON_DN="▼"
|
||||
ICON_UP="▴"
|
||||
ICON_DN="▾"
|
||||
ICON_TRASH="♸"
|
||||
ICON_WIFI="⚚"
|
||||
ICON_REBOOT="⟳"
|
||||
else
|
||||
ICON_C="C"
|
||||
ICON_F="F"
|
||||
|
@ -41,6 +42,7 @@ else
|
|||
ICON_DN="v"
|
||||
ICON_TRASH="T"
|
||||
ICON_WIFI=
|
||||
ICON_REBOOT="(R)"
|
||||
fi
|
||||
PCT="%%"
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ __reboot_required_detail() {
|
|||
|
||||
__reboot_required() {
|
||||
if [ -e "$REBOOT_FLAG" ]; then
|
||||
color b W; printf "("; color -; color b b W; printf "R"; color -; color b W; printf ")"; color --
|
||||
color b W; printf "$ICON_REBOOT"; color --;
|
||||
fi
|
||||
if [ -e "$RELOAD_FLAG" ]; then
|
||||
color b W; printf "<"; color -; color b b W; printf "F5"; color -; color b W; printf ">"; color -; printf " "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue