
#set up status bar and colors
set -g status-bg black
set -g status-fg white
#set -g message-bg white
#setw -g clock-mode-colour cyan
setw -g clock-mode-style 12
#set -g status-right '#[default]Sig:#[fg=yellow]#(wifisignal) #[default]BATT:#[fg=yellow]#(battlevel) #[fg=white]CPU:#[fg=yellow]#(cut -b 1-3 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq) #[fg=blue]%H:%M'
set -g status-right '#[default]BATT:#[fg=yellow]#(battlevel) #[fg=white]CPU:#[fg=yellow]#(cut -b 1-3 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq) #[default]Sig:#[fg=yellow]#(wifisignal) #[fg=blue]%H:%M' 
#set -g status-right '#[default]Sig:#[fg=yellow]#(wifisignal) #[default]BATT:#[fg=yellow]#(battlevel) #[fg=blue]%H:%M'

#automatically copy a handful of useful environment variables into new shells from the parent environment
set -g update-environment -r

set -g status-interval 10
#set-window-option -g automatic-rename on
#setw -g window-status-current-fg white

#set -g base-index 1

#set-option -g set-titles on
#set-option -g set-titles-string '#H:#S.#I.#P. #W #T' 

# Just click it
set-option -g mouse-select-pane on
set-option -g mouse-select-window on
set-option -g mouse-resize-pane on

# Scroll your way into copy mode (scrollback buffer)
# and select text for copying with the mouse
setw -g mode-mouse on

#bind keys to things
bind b new-window "exec ash"
bind a new-window "exec ipstatus"
bind c new-window "exec ewoc-lt"
bind r source-file /etc/tmux.conf
#t = clock
#w = window list
#d = detach

bind D source-file /etc/tmux.view1


unbind %
bind h split-window -v
unbind '"'
bind v split-window -h


#stuff to run on start up
#selectp -t 0 # select the first (0) pane
#splitw -h -p 50 # split it into two halves
#new -d 'exec ash' #gives us a console to use

#new-window 'exec ipstatus'
#new-window 'exec op netconfig'
#new-window 'exec dialog --textbox /home/user/docs/help.txt 0 0'
#new-window 
#split-window -h -p 50

#new-session new source-file /etc/tmux.view1

