From 07fc2644a237187dd4c5680e88f4adadbf533603 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Wed, 12 Aug 2015 12:06:23 -0600 Subject: Initial commit of the working files --- powerline.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 powerline.sh (limited to 'powerline.sh') diff --git a/powerline.sh b/powerline.sh new file mode 100755 index 0000000..92c0414 --- /dev/null +++ b/powerline.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash + +export TMUX_POWERLINE_DIR_HOME="$(dirname $0)" + +source "${TMUX_POWERLINE_DIR_HOME}/config/helpers.sh" +source "${TMUX_POWERLINE_DIR_HOME}/config/paths.sh" +source "${TMUX_POWERLINE_DIR_HOME}/config/shell.sh" +source "${TMUX_POWERLINE_DIR_HOME}/config/defaults.sh" + +source "${TMUX_POWERLINE_DIR_LIB}/arg_processing.sh" +source "${TMUX_POWERLINE_DIR_LIB}/formatting.sh" +source "${TMUX_POWERLINE_DIR_LIB}/muting.sh" +source "${TMUX_POWERLINE_DIR_LIB}/powerline.sh" +source "${TMUX_POWERLINE_DIR_LIB}/rcfile.sh" + +if ! powerline_muted "$1"; then + process_settings + check_arg_side "$1" + print_powerline "$1" +fi + +exit 0 -- cgit v1.2.3