Merge branch 'freebsd_support' of https://github.com/ethancedwards8/tmux into freebsd_support
This commit is contained in:
commit
f0e928f222
1 changed files with 5 additions and 7 deletions
|
@ -31,7 +31,6 @@ main()
|
|||
show_cpu_usage=$(get_tmux_option "@dracula-cpu-usage" false)
|
||||
show_ram_usage=$(get_tmux_option "@dracula-ram-usage" false)
|
||||
show_gpu_usage=$(get_tmux_option "@dracula-gpu-usage" false)
|
||||
show_time=$(get_tmux_option "@dracula-show-time" true)
|
||||
|
||||
# Dracula Color Pallette
|
||||
white='#f8f8f2'
|
||||
|
@ -139,12 +138,11 @@ main()
|
|||
tmux set-option -ga status-right "#[fg=${orange},bg=${powerbg},nobold,nounderscore,noitalics] ${right_sep}#[fg=${dark_gray},bg=${orange}] #(cat $current_dir/../data/weather.txt)"
|
||||
powerbg=${orange}
|
||||
fi
|
||||
if $show_time; then
|
||||
if $show_military; then # military time
|
||||
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 ${timezone} "
|
||||
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 ${timezone} "
|
||||
fi
|
||||
|
||||
if $show_military; then # military time
|
||||
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 ${timezone} "
|
||||
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 ${timezone} "
|
||||
fi
|
||||
|
||||
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}"
|
||||
|
|
Loading…
Reference in a new issue