Changed naming of some things
This commit is contained in:
parent
420eed6fd4
commit
e41cabee1c
2 changed files with 8 additions and 8 deletions
|
@ -24,5 +24,5 @@ Customize the status bar by adding any of these lines to your .tmux.conf as desi
|
|||
* Enable military time: `set -g @dracula-military-time true`
|
||||
* Switch the left smiley icon `set -g @dracula-show-left-icon session` it can accept `session`, `smiley`, `window`, or any character.
|
||||
* Enable high contrast pane border: `set -g @dracula-border-contrast true`
|
||||
* Enable cpu percentage: `set -g @dracula-cpu-percent true`
|
||||
* Enable ram percentage: `set -g @dracula-ram-percent true`
|
||||
* Enable cpu percentage: `set -g @dracula-cpu-usage true`
|
||||
* Enable ram percentage: `set -g @dracula-ram-usage true`
|
||||
|
|
|
@ -27,8 +27,8 @@ main()
|
|||
show_left_sep=$(get_tmux_option "@dracula-show-left-sep" )
|
||||
show_right_sep=$(get_tmux_option "@dracula-show-right-sep" )
|
||||
show_border_contrast=$(get_tmux_option "@dracula-border-contrast" false)
|
||||
show_cpu_percentage=$(get_tmux_option "@dracula-cpu-percent" false)
|
||||
show_ram_percentage=$(get_tmux_option "@dracula-ram-percent" false)
|
||||
show_cpu_usage=$(get_tmux_option "@dracula-cpu-usage" false)
|
||||
show_ram_usage=$(get_tmux_option "@dracula-ram-usage" false)
|
||||
|
||||
# Dracula Color Pallette
|
||||
white='#f8f8f2'
|
||||
|
@ -104,12 +104,12 @@ main()
|
|||
powerbg=${pink}
|
||||
fi
|
||||
|
||||
if $show_ram_percent; then
|
||||
if $show_ram_usage; then
|
||||
tmux set-option -ga status-right "#[fg=${cyan},bg=${powerbg},nobold,nounderscore,noitalics] ${right_sep}#[fg=${dark_gray},bg=${cyan}] #($current_dir/ram_info.sh)"
|
||||
powerbg=${cyan}
|
||||
fi
|
||||
|
||||
if $show_cpu_percentage; then
|
||||
if $show_cpu_usage; then
|
||||
tmux set-option -ga status-right "#[fg=${orange},bg=${powerbg},nobold,nounderscore,noitalics] ${right_sep}#[fg=${dark_gray},bg=${orange}] #($current_dir/cpu_info.sh)"
|
||||
powerbg=${orange}
|
||||
fi
|
||||
|
@ -141,11 +141,11 @@ main()
|
|||
if $show_battery; then # battery
|
||||
tmux set-option -g status-right "#[fg=${dark_gray},bg=${pink}] #($current_dir/battery.sh) "
|
||||
fi
|
||||
if $show_ram_percentage; then
|
||||
if $show_ram_usage; then
|
||||
tmux set-option -ga status-right "#[fg=${dark_gray},bg=${cyan}] #($current_dir/ram_info.sh) "
|
||||
fi
|
||||
|
||||
if $show_cpu_percentage; then
|
||||
if $show_cpu_usage; then
|
||||
tmux set-option -ga status-right "#[fg=${dark_gray},bg=${orange}] #($current_dir/cpu_info.sh) "
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue