mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
byobu-janitor: seed the default color choices more effciently, also
fixes some strange crashes on first run; default the colors to white on black
This commit is contained in:
parent
a725163226
commit
c50607b2d7
3 changed files with 6 additions and 4 deletions
|
@ -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" ] || byobu-select-profile -b W -f k >/dev/null 2>&1
|
||||
[ -r "$HOME/.$PKG/color" ] || printf "BACKGROUND=w\nFOREGROUND=k" > "$HOME/.$PKG/color"
|
||||
[ -r "$PROFILE" ] || ln -sf /usr/share/$PKG/profiles/common "$PROFILE"
|
||||
|
||||
# Affects: Symlinks pointing to color profiles
|
||||
|
|
|
@ -98,10 +98,10 @@ prompt() {
|
|||
echo
|
||||
if [ "$which" = "foreground" ]; then
|
||||
echo `gettext 'Select the foreground color: '`
|
||||
simple="default"
|
||||
simple="white"
|
||||
else
|
||||
echo `gettext 'Select the background color: '`
|
||||
simple="default"
|
||||
simple="black"
|
||||
fi
|
||||
i=1
|
||||
for x in $COLORS; do
|
||||
|
|
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,6 +1,8 @@
|
|||
byobu (2.46) unreleased; urgency=low
|
||||
|
||||
* UNRELEASED
|
||||
* byobu-janitor: seed the default color choices more effciently, also
|
||||
fixes some strange crashes on first run; default the colors to white
|
||||
on black
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 07 Jan 2010 21:53:14 -0600
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue