###############################################################################
#    Load:
#     * the stock byobu profile
#     * any windows
#     * and the local byoburc (instead of .screenrc)
#    Used at startup but not profile refresh
#
#    Copyright (C) 2009-2011 Canonical Ltd.
#
#    Authors: Dustin Kirkland <kirkland@byobu.org>
#
#    This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, version 3 of the License.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
###############################################################################

source-file $BYOBU_CONFIG_DIR/color.tmux
# Re-apply pane border colours from the colour profile on every reload (F5).
# $VAR is expanded from the tmux process environment at parse time; this
# restores colours after Mondrian (Ctrl-Shift-F12) changes them.  LP: #1871016
set-option -g pane-border-style fg=$BYOBU_ACCENT
set-option -g pane-active-border-style bg=$BYOBU_HIGHLIGHT,fg=$BYOBU_HIGHLIGHT
set-option -g display-panes-colour $BYOBU_ACCENT
set-option -g display-panes-active-colour $BYOBU_HIGHLIGHT
source-file $BYOBU_CONFIG_DIR/datetime.tmux
source-file $BYOBU_CONFIG_DIR/profile.tmux
source-file $BYOBU_CONFIG_DIR/keybindings.tmux
#source-file $BYOBU_CONFIG_DIR/windows.tmux
source-file $BYOBU_CONFIG_DIR/.tmux.conf
source-file $BYOBU_CONFIG_DIR/shellinit.tmux
