mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* profiles_generator/profile.skel: use the reverse color for the current
window highlighting; works better with odd color combinations, maximizes contrast * byobu-status: separate COLOR into FOREGROUND and BACKGROUND; more flexibility
This commit is contained in:
parent
419110d915
commit
bee9747c29
3 changed files with 9 additions and 2 deletions
|
@ -59,7 +59,9 @@ case "$P" in
|
|||
;;
|
||||
color)
|
||||
[ -r "$HOME/.$PKG/color" ] && . "$HOME/.$PKG/color"
|
||||
[ -z "$COLOR" ] && printf "$Wk" || printf "$ESC{= $COLOR}"
|
||||
[ -z "$FOREGROUND" ] && FOREGROUND="k"
|
||||
[ -z "$BACKGROUND" ] && BACKGROUND="W"
|
||||
printf "$ESC{= $BACKGROUND$FOREGROUND}"
|
||||
;;
|
||||
*)
|
||||
eval x="\$$P" || exit 1
|
||||
|
|
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -21,6 +21,11 @@ byobu (2.40) unreleased; urgency=low
|
|||
profile colors from a config file, and use a special "color" status
|
||||
item to dynamically render it
|
||||
* bin/menu: add a space to the -r test, LP: #490894
|
||||
* profiles_generator/profile.skel: use the reverse color for the current
|
||||
window highlighting; works better with odd color combinations, maximizes
|
||||
contrast
|
||||
* byobu-status: separate COLOR into FOREGROUND and BACKGROUND; more
|
||||
flexibility
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 10 Nov 2009 10:18:20 -0600
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
source /usr/share/byobu/profiles/common
|
||||
|
||||
# Window tabs, second to last line
|
||||
caption always "%12`%?%-Lw%50L>%?%{=b wb}%n*%f %t%?(%u)%?%12`%?%+Lw%?%11` %=%12`%110`%109`%122`%111`%10`%<"
|
||||
caption always "%12`%?%-Lw%50L>%?%{=r }%{+b }%n*%f %t%?(%u)%?%12`%?%+Lw%?%11` %=%12`%110`%109`%122`%111`%10`%<"
|
||||
|
||||
# Status string, last line
|
||||
hardstatus string '%99`%12` %100`%112`%= %102`%101`%129`%127`%114`%115`%108`%128`%125`%126`%113`%119`%117`%116`%106`%104`%103`%105`%107`%123`%120`%121`'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue