mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
screen: just touch the windows config
file since F5 reloads reopens all windows; launch with motd+shell if Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
5779364ef7
commit
6546a80c32
2 changed files with 11 additions and 5 deletions
8
debian/changelog
vendored
8
debian/changelog
vendored
|
@ -1,4 +1,4 @@
|
|||
screen-profiles (1.48-0ubuntu1) jaunty; urgency=low
|
||||
screen-profiles (1.48) unreleased; urgency=low
|
||||
|
||||
Drop the distro name in generated profiles
|
||||
* debian/install: fix installation of profiles
|
||||
|
@ -14,7 +14,9 @@ screen-profiles (1.48-0ubuntu1) jaunty; urgency=low
|
|||
|
||||
* screen: default to the light profile, if unspecified; this should be
|
||||
acceptable now that the F9:Menu prompt is always shown, and from there,
|
||||
any user can easily change their profile
|
||||
any user can easily change their profile; just touch the windows config
|
||||
file since F5 reloads reopens all windows; launch with motd+shell if
|
||||
no args to screen are specified
|
||||
* keybindings/common: don't force users to name a window on F2 window
|
||||
creation
|
||||
* debian/postrm: remove the || true on the diversion removal, per Debian
|
||||
|
@ -26,7 +28,7 @@ screen-profiles (1.48-0ubuntu1) jaunty; urgency=low
|
|||
* screen-profiles-status.1, debian/rules: manpage added
|
||||
* screen-profiles-export: randomly generate tarball name, if unspecified
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 21 Apr 2009 16:14:37 -0500
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 21 Apr 2009 16:45:35 -0500
|
||||
|
||||
screen-profiles (1.47-0ubuntu1) jaunty; urgency=low
|
||||
|
||||
|
|
8
screen
8
screen
|
@ -67,10 +67,14 @@ fi
|
|||
[ -s "$HOME/.screen-profiles/keybindings" ] || echo "source /usr/share/screen-profiles/keybindings/common" > "$HOME/.screen-profiles/keybindings"
|
||||
|
||||
# Ensure that their default windows are seeded
|
||||
[ -r "$HOME/.screen-profiles/windows" ] || cp "/usr/share/screen-profiles/windows/common" "$HOME/.screen-profiles/windows"
|
||||
[ -r "$HOME/.screen-profiles/windows" ] || touch "$HOME/.screen-profiles/windows"
|
||||
|
||||
# Ensure that the user's .screenrc at least exists
|
||||
[ -r "$HOME/.screenrc" ] || touch "$HOME/.screenrc"
|
||||
|
||||
# Now let's execute screen!
|
||||
exec /usr/bin/screen.real -c "$HOME/.screen-profiles/profile" "$@"
|
||||
if [ -z "$@" ]; then
|
||||
exec /usr/bin/screen.real -c "$HOME/.screen-profiles/profile" -t shell /usr/bin/motd+shell
|
||||
else
|
||||
exec /usr/bin/screen.real -c "$HOME/.screen-profiles/profile" "$@"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue