diff --git a/examples/example.session.sh b/examples/example.session.sh index 5a2faaf..b4a8491 100644 --- a/examples/example.session.sh +++ b/examples/example.session.sh @@ -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.