* 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:
Dustin Kirkland 2011-10-19 23:40:32 -05:00
commit 796937c013
3 changed files with 10 additions and 6 deletions

4
debian/changelog vendored
View file

@ -1,6 +1,8 @@
byobu (4.42) unreleased; urgency=low 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 -- Dustin Kirkland <kirkland@ubuntu.com> Fri, 14 Oct 2011 14:53:51 -0500

View file

@ -24,13 +24,14 @@ PKG="byobu"
if [ "$UTF8" = "1" ] || [ "$BYOBU_BACKEND" = "tmux" ]; then if [ "$UTF8" = "1" ] || [ "$BYOBU_BACKEND" = "tmux" ]; then
ICON_C="℃" ICON_C="℃"
ICON_F="℉" ICON_F="℉"
ICON_RD="" ICON_RD=""
ICON_WR="" ICON_WR=""
ICON_MAIL="⍌" ICON_MAIL="⍌"
ICON_UP="" ICON_UP=""
ICON_DN="" ICON_DN=""
ICON_TRASH="♸" ICON_TRASH="♸"
ICON_WIFI="⚚" ICON_WIFI="⚚"
ICON_REBOOT="⟳"
else else
ICON_C="C" ICON_C="C"
ICON_F="F" ICON_F="F"
@ -41,6 +42,7 @@ else
ICON_DN="v" ICON_DN="v"
ICON_TRASH="T" ICON_TRASH="T"
ICON_WIFI= ICON_WIFI=
ICON_REBOOT="(R)"
fi fi
PCT="%%" PCT="%%"

View file

@ -32,7 +32,7 @@ __reboot_required_detail() {
__reboot_required() { __reboot_required() {
if [ -e "$REBOOT_FLAG" ]; then 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 fi
if [ -e "$RELOAD_FLAG" ]; then if [ -e "$RELOAD_FLAG" ]; then
color b W; printf "<"; color -; color b b W; printf "F5"; color -; color b W; printf ">"; color -; printf " " color b W; printf "<"; color -; color b b W; printf "F5"; color -; color b W; printf ">"; color -; printf " "