
set-option -g mouse on
set-option -g history-limit 10000
set -g default-shell zsh
set -g base-index 1
set -g renumber-windows on

# Status bar background style
set -g status-style 'bg=#ffffff,fg=#333333'

# Status bar left side
set -g status-left-length 0
set -g status-left '#[fg=#32738c,bg=terminal] #[bg=#459dbf]#[fg=#459dbf,bg=#58c8f2]#[fg=#333333]   #(~/zshrc/scripts/bin/tmux-tool.py 0 1) #[fg=#58c8f2,bg=#eda4b2]#[fg=#333333] #(~/zshrc/scripts/bin/time-icon)  #(~/zshrc/scripts/bin/tmux-tool.py 1 1) #[fg=#eda4b2,bg=#ffffff]'

# Centered window status
set -g status-justify centre
set -g status-interval 1
set -g window-status-style 'fg=#333333,bg=default'
set -g window-status-current-style 'fg=#333333,bg=default'
set -g window-status-separator '  '

# Status bar right side
set -g status-right-length 0
set -g status-right '#[fg=#ffffff,bg=#eda4b2]#[fg=#333333] #(python3 -m hyfetch --print-font-logo || echo "")  #(~/zshrc/scripts/bin/tmux-tool.py 4 1) #[fg=#eda4b2,bg=#58c8f2]#[fg=#333333]   #(~/zshrc/scripts/bin/tmux-tool.py 5 1) #[fg=#58c8f2,bg=#459dbf]#[fg=#459dbf,bg=#32738c]#[fg=#32738c,bg=terminal]'

# Pane border style
set -g pane-border-style "fg=#865c64"
set -g pane-active-border-style "fg=#eda4b2"
set -g pane-border-status top
set -g pane-border-format '#[bold]#{pane_current_command}#[default]'

# status-format[0] "#[align=left range=left #{status-left-style}]#[push-default]#{T;=/#{status-left-length}:status-left}#[pop-default]#[norange default]#[list=on align=#{status-justify}]#[list=left-marker]<#[list=right-marker]>#[list=on]#{W:#[range=window|#{window_index} #{window-status-style}#{?#{&&:#{window_last_flag},#{!=:#{window-status-last-style},default}}, #{window-status-last-style},}#{?#{&&:#{window_bell_flag},#{!=:#{window-status-bell-style},default}}, #{window-status-bell-style},#{?#{&&:#{||:#{window_activity_flag},#{window_silence_flag}},#{!=:#{window-status-activity-style},default}}, #{window-status-activity-style},}}]#[push-default]#{T:window-status-format}#[pop-default]#[norange default]#{?window_end_flag,,#{window-status-separator}},#[range=window|#{window_index} list=focus #{?#{!=:#{window-status-current-style},default},#{window-status-current-style},#{window-status-style}}#{?#{&&:#{window_last_flag},#{!=:#{window-status-last-style},default}}, #{window-status-last-style},}#{?#{&&:#{window_bell_flag},#{!=:#{window-status-bell-style},default}}, #{window-status-bell-style},#{?#{&&:#{||:#{window_activity_flag},#{window_silence_flag}},#{!=:#{window-status-activity-style},default}}, #{window-status-activity-style},}}]#[push-default]#{T:window-status-current-format}#[pop-default]#[norange list=on default]#{?window_end_flag,,#{window-status-separator}}}#[nolist align=right range=right #{status-right-style}]#[push-default]#{T;=/#{status-right-length}:status-right}#[pop-default]#[norange default]"

set -g status 2
set -g status-format[1] '#[fg=#32738c,bg=terminal]#[bg=#459dbf]#[fg=#459dbf,bg=#58c8f2]#[fg=#333333]   #(~/zshrc/scripts/bin/tmux-tool.py 0 2) #[fg=#58c8f2,bg=#eda4b2]#[fg=#333333]   #(~/zshrc/scripts/bin/tmux-tool.py 1 2) #[fg=#eda4b2,bg=#ffffff]#[fg=#333333]#[list=on align=#{status-justify}] #(~/zshrc/scripts/bin/tmux-tool.py 2 2) #[fg=#cccccc]#[fg=#333333] #(~/zshrc/scripts/bin/tmux-tool.py 3 2) #[norange default]#[nolist align=right]#[fg=#ffffff,bg=#eda4b2]#[fg=#333333]   #(~/zshrc/scripts/bin/tmux-tool.py 4 2) #[fg=#eda4b2,bg=#58c8f2]#[fg=#333333]   #(~/zshrc/scripts/bin/tmux-tool.py 5 2) #[fg=#58c8f2,bg=#459dbf]#[fg=#459dbf,bg=#32738c]#[fg=#32738c,bg=terminal] '

# Status bar refresh
set -g status-interval 1
