2020-03-14 03:19:05 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2020-03-14 06:16:19 +01:00
|
|
|
main() {
|
|
|
|
|
|
|
|
## Colors
|
|
|
|
black='colour16'
|
|
|
|
white='colour255'
|
|
|
|
gray='colour236'
|
|
|
|
dark_gray='colour236'
|
|
|
|
yellow='colour215'
|
|
|
|
light_purple='colour141'
|
|
|
|
dark_purple='colour61'
|
|
|
|
|
|
|
|
## Icons
|
|
|
|
left_sep=''
|
|
|
|
right_sep=''
|
|
|
|
right_alt_sep=''
|
|
|
|
|
|
|
|
tmux set-option -g status on
|
|
|
|
tmux set-option -g status-left-length 100
|
|
|
|
tmux set-option -g status-right-length 100
|
|
|
|
tmux set-option -g status-bg "${dark_gray}"
|
|
|
|
tmux set-option -g pane-active-border-fg "${dark_purple}"
|
|
|
|
tmux set-option -g pane-border-fg "${gray}"
|
|
|
|
tmux set-option -g message-bg "${gray}"
|
|
|
|
tmux set-option -g message-fg "${white}"
|
|
|
|
tmux set-option -g message-command-bg "${gray}"
|
|
|
|
tmux set-option -g message-command-fg "${white}"
|
|
|
|
tmux set-option -g status-left " #I #[fg=${dark_gray},reverse]${right_sep} "
|
|
|
|
tmux set-option -g status-left-style "fg=${white},bg=${dark_purple},bold"
|
|
|
|
tmux set-option -g status-right "${left_sep}#[bg=${black},reverse] %Y-%m-%d %H:%M "
|
|
|
|
tmux set-option -g status-right-style "fg=${light_purple},bg=${dark_gray}"
|
|
|
|
tmux set-window-option -g window-status-activity-style "fg=${white},bg=${gray}"
|
|
|
|
tmux set-window-option -g window-status-separator ''
|
|
|
|
tmux set-window-option -g window-status-format ' #I #W '
|
|
|
|
tmux set-window-option -g window-status-style "fg=${yellow},bg=${dark_gray}"
|
|
|
|
tmux set-window-option -g window-status-current-format \
|
|
|
|
"${right_sep}#[fg=${black}] #I ${right_alt_sep} #W #[fg=${dark_gray},reverse]${right_sep}"
|
|
|
|
tmux set-window-option -g window-status-current-style "fg=${dark_gray},bg=${light_purple}"
|
2020-03-14 03:19:05 +01:00
|
|
|
}
|
2020-03-14 05:40:25 +01:00
|
|
|
|
2020-03-14 06:16:19 +01:00
|
|
|
main
|
|
|
|
|
|
|
|
# vim: set filetype=bash
|