mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
* usr/bin/byobu, usr/lib/byobu/include/constants:
- support global variable for default window name
This commit is contained in:
parent
5cf3703ee0
commit
8848937dd1
3 changed files with 7 additions and 2 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,6 +1,7 @@
|
|||
byobu (5.67) unreleased; urgency=low
|
||||
|
||||
* UNRELEASED
|
||||
* usr/bin/byobu, usr/lib/byobu/include/constants:
|
||||
- support global variable for default window name
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 29 Nov 2013 09:46:48 -0600
|
||||
|
||||
|
|
|
@ -64,6 +64,9 @@ export BYOBU_BACKEND
|
|||
# Store the parent tty
|
||||
export BYOBU_TTY=$(tty)
|
||||
|
||||
# Get the default window name
|
||||
[ -n "$BYOBU_WINDOW_NAME" ] || BYOBU_WINDOW_NAME=-
|
||||
|
||||
# Add a version argument for debugging purposes
|
||||
if [ "$#" = "1" ]; then
|
||||
case "$1" in
|
||||
|
@ -110,7 +113,7 @@ case $BYOBU_BACKEND in
|
|||
fi
|
||||
fi
|
||||
BYOBU_PROFILE="-f $BYOBU_PREFIX/share/$PKG/profiles/tmuxrc"
|
||||
DEFAULT_WINDOW="new-session -n - ${BYOBU_PREFIX}/bin/byobu-shell"
|
||||
DEFAULT_WINDOW="new-session -n $BYOBU_WINDOW_NAME ${BYOBU_PREFIX}/bin/byobu-shell"
|
||||
sessions=$($BYOBU_BACKEND list-sessions 2>/dev/null) || true
|
||||
;;
|
||||
screen)
|
||||
|
|
|
@ -58,3 +58,4 @@ export BYOBU_DARK="black"
|
|||
export BYOBU_LIGHT="white"
|
||||
export BYOBU_ACCENT="#75507B" # AUBERGINE
|
||||
export BYOBU_HIGHLIGHT="#DD4814" # UBUNTU ORANGE
|
||||
export BYOBU_WINDOW_NAME="-"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue