Tested, working on both powerline mode, and normal mode
This commit is contained in:
parent
cbb299eb5c
commit
b92fc323e6
2 changed files with 14 additions and 9 deletions
|
@ -20,3 +20,4 @@ Customize the status bar by adding any of these lines to your .tmux.conf as desi
|
||||||
* Disable weather functionality: `set -g @dracula-show-weather false`
|
* Disable weather functionality: `set -g @dracula-show-weather false`
|
||||||
* Switch from default fahrenheit to celsius: `set -g @dracula-show-fahrenheit false`
|
* Switch from default fahrenheit to celsius: `set -g @dracula-show-fahrenheit false`
|
||||||
* Enable powerline symbols: `set -g @dracula-show-powerline true`
|
* Enable powerline symbols: `set -g @dracula-show-powerline true`
|
||||||
|
* Enable military time: `set -g @dracula-military-time true`
|
||||||
|
|
|
@ -49,12 +49,7 @@ main()
|
||||||
tmux set-option -g status-interval 5
|
tmux set-option -g status-interval 5
|
||||||
|
|
||||||
# set clock
|
# set clock
|
||||||
# tmux set-option -g clock-mode-style 12
|
tmux set-option -g clock-mode-style 12
|
||||||
if $show_military; then
|
|
||||||
tmux set-option -g clock-mode-style 24 &
|
|
||||||
else
|
|
||||||
tmux set-option -g clock-mode-style 12 &
|
|
||||||
fi
|
|
||||||
|
|
||||||
# set length
|
# set length
|
||||||
tmux set-option -g status-left-length 100
|
tmux set-option -g status-left-length 100
|
||||||
|
@ -91,7 +86,12 @@ else
|
||||||
powerbg=${orange}
|
powerbg=${orange}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tmux set-option -ga status-right "#[fg=${dark_purple},bg=${powerbg},nobold,nounderscore,noitalics] ${right_sep}#[fg=${white},bg=${dark_purple}] %a %m/%d %I:%M %p #(date +%Z) "
|
if $show_military; then
|
||||||
|
tmux set-option -ga status-right "#[fg=${dark_purple},bg=${powerbg},nobold,nounderscore,noitalics] ${right_sep}#[fg=${white},bg=${dark_purple}] %a %m/%d %R %p #(date +%Z) "
|
||||||
|
else
|
||||||
|
tmux set-option -ga status-right "#[fg=${dark_purple},bg=${powerbg},nobold,nounderscore,noitalics] ${right_sep}#[fg=${white},bg=${dark_purple}] %a %m/%d %I:%M %p #(date +%Z) "
|
||||||
|
fi
|
||||||
|
|
||||||
# window tabs
|
# window tabs
|
||||||
tmux set-window-option -g window-status-current-format "#[fg=${gray},bg=${dark_purple}]${left_sep}#[fg=${white},bg=${dark_purple}] #I #W #[fg=${dark_purple},bg=${gray}]${left_sep}"
|
tmux set-window-option -g window-status-current-format "#[fg=${gray},bg=${dark_purple}]${left_sep}#[fg=${white},bg=${dark_purple}] #I #W #[fg=${dark_purple},bg=${gray}]${left_sep}"
|
||||||
else
|
else
|
||||||
|
@ -111,7 +111,11 @@ else
|
||||||
tmux set-option -ga status-right "#[fg=${dark_gray},bg=${orange}] #(cat $current_dir/../data/weather.txt) "
|
tmux set-option -ga status-right "#[fg=${dark_gray},bg=${orange}] #(cat $current_dir/../data/weather.txt) "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tmux set-option -ga status-right "#[fg=${white},bg=${dark_purple}] %a %m/%d %I:%M %p #(date +%Z) "
|
if $show_military; then
|
||||||
|
tmux set-option -ga status-right "#[fg=${dark_purple},bg=${powerbg},nobold,nounderscore,noitalics] ${right_sep}#[fg=${white},bg=${dark_purple}] %a %m/%d %R %p #(date +%Z) "
|
||||||
|
else
|
||||||
|
tmux set-option -ga status-right "#[fg=${dark_purple},bg=${powerbg},nobold,nounderscore,noitalics] ${right_sep}#[fg=${white},bg=${dark_purple}] %a %m/%d %I:%M %p #(date +%Z) "
|
||||||
|
fi
|
||||||
|
|
||||||
# window tabs
|
# window tabs
|
||||||
tmux set-window-option -g window-status-current-format "#[fg=${white},bg=${dark_purple}] #I #W "
|
tmux set-window-option -g window-status-current-format "#[fg=${white},bg=${dark_purple}] #I #W "
|
||||||
|
|
Loading…
Reference in a new issue