mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
usr/bin/byobu, usr/bin/byobu-janitor: move the print for window
title setting into byobu-janitor, which should ensure that it gets run on F5/refresh operations
This commit is contained in:
parent
ab865a71a5
commit
eb440876d4
3 changed files with 6 additions and 3 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,6 +1,9 @@
|
||||||
byobu (3.21) unreleased; urgency=low
|
byobu (3.21) unreleased; urgency=low
|
||||||
|
|
||||||
* usr/bin/byobu-select-profile: ensure that $DATA exists, LP: #697724
|
* usr/bin/byobu-select-profile: ensure that $DATA exists, LP: #697724
|
||||||
|
* usr/bin/byobu, usr/bin/byobu-janitor: move the print for window
|
||||||
|
title setting into byobu-janitor, which should ensure that it
|
||||||
|
gets run on F5/refresh operations
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 03 Jan 2011 11:44:19 -0600
|
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 03 Jan 2011 11:44:19 -0600
|
||||||
|
|
||||||
|
|
|
@ -46,9 +46,6 @@ fi
|
||||||
# Sanitize the environment
|
# Sanitize the environment
|
||||||
byobu-janitor --force
|
byobu-janitor --force
|
||||||
|
|
||||||
# Set window title until https://bugs.launchpad.net/bugs/338722 is fixed in screen
|
|
||||||
printf "\033]0;${USER}@$(hostname) - ${PKG}\007"
|
|
||||||
|
|
||||||
# Allow override of default window list, with BYOBU_WINDOWS environment variable
|
# Allow override of default window list, with BYOBU_WINDOWS environment variable
|
||||||
CUSTOM_WINDOW_SET=0
|
CUSTOM_WINDOW_SET=0
|
||||||
if [ -r "$BYOBU_WINDOWS" ]; then
|
if [ -r "$BYOBU_WINDOWS" ]; then
|
||||||
|
|
|
@ -27,6 +27,9 @@ XDG="$HOME/.local/share/$PKG"
|
||||||
RUN="$SOCKETDIR/S-$USER"
|
RUN="$SOCKETDIR/S-$USER"
|
||||||
FLAG="$RUN/$PKG.reload-required"
|
FLAG="$RUN/$PKG.reload-required"
|
||||||
|
|
||||||
|
# Set the window title
|
||||||
|
printf "\033]0;${USER}@$(hostname) - ${PKG}\007"
|
||||||
|
|
||||||
# Let's get prepped to switch over to XDG one day; maintain symlink for now
|
# Let's get prepped to switch over to XDG one day; maintain symlink for now
|
||||||
mkdir -p "$XDG"
|
mkdir -p "$XDG"
|
||||||
if [ -d "$DATA" ] && [ ! -h "$DATA" ]; then
|
if [ -d "$DATA" ] && [ ! -h "$DATA" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue