### Setup status bar and colors
set -g status-bg black
set -g status-fg cyan
set -g message-bg white
setw -g clock-mode-colour cyan
setw -g clock-mode-style 12

# Default z2sid Right
#set -g status-right 'Signal:#[fg=white]#(wifisignal) #[fg=cyan]Battery:#[fg=white]#(battlevel) #[fg=cyan]%H:%M'
#NeonLicht Right
#set -g status-right '#[fg=green]#(uptime | sed 's/.*up//' | sed 's/,.*//') #[fg=blue]#(cut -d " " -f 1-1 /proc/loadavg) #[fg=red]#(cut -b 1-3 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq) #[fg=cyan]#(cut -b 1-1 /sys/class/power_supply/Z2/voltage_now).#(cut -b 2-3 /sys/class/power_supply/Z2/voltage_now)/#(cut -d " " -f 7-7 /proc/apm)#[default] #[fg=yellow]%H%M#[default]'
#mozzwald Right
set -g status-right '#[fg=cyan]Wifi:#[fg=green]#(wifisignal) #[fg=cyan]Batt:#[fg=red]#(battlevel) #[fg=white]%H:%M#[default]'

#set -g status-left '#(whoami)@#H'
set -g status-left '#[fg=blue]'
set -g status-interval 8
set-window-option -g automatic-rename on
setw -g window-status-current-fg yellow

#set screen-like keybindings
#set -g prefix C-a
#unbind C-b
#unbind l
#bind C-a send-prefix
#bind-key C-a last-window

#bind keys to things
bind m new-window "exec z2menu -c"
bind b new-window "exec bash"
bind e new-window "exec op netconfig"
bind l new-window "exec elinks http://www.google.com"
bind h new-window "exec dialog --textbox /home/user/docs/help.txt 0 0"
bind r source-file /home/user/.tmux.conf
#use tty-clock
unbind t
bind t new-window "/usr/local/bin/clock"
#w = window list
#d = detach

#stuff to run on start up
new -d 'exec bash' #gives us a console to use
#new-window 'exec op netconfig'
#new-window 'exec dialog --textbox /home/user/docs/help.txt 0 0'
