mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
byobu-export, byobu-janitor, byobu-status: default to white text on
black backgrounds
This commit is contained in:
parent
954c3ef565
commit
bdfb1b48cd
4 changed files with 6 additions and 4 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -23,6 +23,8 @@ byobu (2.47) unreleased; urgency=low
|
|||
share/man/man1/byobu-select-session.1: add a dynamic prompt if
|
||||
automatically launching byobu on a server where multiple sessions
|
||||
exist, LP: #368963
|
||||
* byobu-export, byobu-janitor, byobu-status: default to white text on
|
||||
black backgrounds
|
||||
|
||||
[ Jason Cohen ]
|
||||
* usr/bin/byobu: check if our terminfo supports 256 colors, LP: #409353
|
||||
|
|
|
@ -79,7 +79,7 @@ for i in etc usr/bin usr/lib usr/share/doc; do
|
|||
done
|
||||
dpkg-query --show --showformat '${Package} ${Version}\n' $PKG > "$DIR/.$PKG/version" 2>/dev/null || true
|
||||
echo "http://launchpad.net/$PKG" >> "$DIR/.$PKG/version"
|
||||
printf "FOREGROUND=k\nBACKGROUND=W\n" > "$DIR/.$PKG/color"
|
||||
printf "FOREGROUND=w\nBACKGROUND=k\n" > "$DIR/.$PKG/color"
|
||||
|
||||
# Copy necessary scripts
|
||||
cp -a /etc/$PKG "$DIR/.$PKG/etc"
|
||||
|
|
|
@ -59,7 +59,7 @@ fi
|
|||
# Affects: First runs with no configuration
|
||||
# Seed the configuration
|
||||
[ -d "$HOME/.$PKG" ] || mkdir -p "$HOME/.$PKG"
|
||||
[ -r "$HOME/.$PKG/color" ] || printf "BACKGROUND=w\nFOREGROUND=k" > "$HOME/.$PKG/color"
|
||||
[ -r "$HOME/.$PKG/color" ] || printf "BACKGROUND=k\nFOREGROUND=w" > "$HOME/.$PKG/color"
|
||||
[ -r "$PROFILE" ] || ln -sf /usr/share/$PKG/profiles/common "$PROFILE"
|
||||
|
||||
# Affects: Symlinks pointing to color profiles
|
||||
|
|
|
@ -77,8 +77,8 @@ case "$P" in
|
|||
done
|
||||
;;
|
||||
color)
|
||||
[ -z "$FOREGROUND" ] && FOREGROUND="k"
|
||||
[ -z "$BACKGROUND" ] && BACKGROUND="W"
|
||||
[ -z "$FOREGROUND" ] && FOREGROUND="w"
|
||||
[ -z "$BACKGROUND" ] && BACKGROUND="k"
|
||||
printf "$ESC{= $BACKGROUND$FOREGROUND}"
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue