mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 01:46:40 +00:00
Re-organize internal files a bit
This commit is contained in:
6
lib/env.sh
Normal file
6
lib/env.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
# Setup layout path.
|
||||
if [ -z "${TMUXIFIER_LAYOUT_PATH}" ]; then
|
||||
export TMUXIFIER_LAYOUT_PATH="${TMUXIFIER}/layouts"
|
||||
else
|
||||
export TMUXIFIER_LAYOUT_PATH="${TMUXIFIER_LAYOUT_PATH%/}"
|
||||
fi
|
||||
12
lib/runtime.sh
Normal file
12
lib/runtime.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# Load up runtime environment for session and window layout files.
|
||||
#
|
||||
|
||||
# Load tmuxifier environment.
|
||||
source "$TMUXIFIER/lib/env.sh"
|
||||
|
||||
# Setup default variables.
|
||||
session_root="$HOME"
|
||||
|
||||
# Load layout helper functions.
|
||||
source "$TMUXIFIER/lib/layout-helpers.sh"
|
||||
Reference in New Issue
Block a user