From e41cabee1c4d19877dcc82080fdbab98d07847f5 Mon Sep 17 00:00:00 2001 From: Ethan Edwards Date: Sun, 7 Jun 2020 19:36:26 -0400 Subject: [PATCH] Changed naming of some things --- INSTALL.md | 4 ++-- scripts/dracula.sh | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 24667b1..abd5055 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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` diff --git a/scripts/dracula.sh b/scripts/dracula.sh index cc2c882..04911f5 100755 --- a/scripts/dracula.sh +++ b/scripts/dracula.sh @@ -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