init for refresh_rate NOT WORKING

This commit is contained in:
Ethan Edwards 2020-08-09 01:50:07 -04:00
parent 288cdc5a99
commit 695a67531f
4 changed files with 8 additions and 4 deletions

View file

@ -32,6 +32,10 @@ main()
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)
show_refresh=$(get_tmux_option "@dracula-refresh-rate" 5)
# exporting the value for the other scripts to read
export RATE=$show_refresh
# Dracula Color Pallette
white='#f8f8f2'
@ -79,7 +83,7 @@ main()
esac
# sets refresh interval to every 5 seconds
tmux set-option -g status-interval 5
tmux set-option -g status-interval $show_refresh
# set clock to 12 hour by default
tmux set-option -g clock-mode-style 12