Update session layout example

This commit is contained in:
2012-04-25 23:40:55 +01:00
parent a67d964b8a
commit 6fb77febec

View File

@@ -6,13 +6,16 @@ session_root "~/Documents"
# argument is given, session name will be based on layout file name.
if initialize_session "Example Session"; then
# Example of loading an existing window layout.
load_window "example"
# Example of in-line window definition
# Create a new window inline within session layout definition.
new_window "In-line Window"
tmux split-window -t "$session:$window.0" -v -p 50
# Load a defined window layout.
load_window "example"
# Select the default active window on session creation.
select_window 0
fi
# Finalize session creation and switch/attach to it.