diff --git a/INSTALL.md b/INSTALL.md index 7cd9c5b..3ef4021 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -48,7 +48,7 @@ To enable plugins set up the `@dracula-plugins` option in you `.tmux.conf` file, The order that you define the plugins will be the order on the status bar left to right. ```bash -# available plugins: battery, cpu-usage, gpu-usage, ram-usage, network, network-bandwith, weather, time +# available plugins: battery, cpu-usage, gpu-usage, ram-usage, network, network-bandwidth, weather, time set -g @dracula-plugins "cpu-usage gpu-usage ram-usage" ``` diff --git a/README.md b/README.md index 4f86f8c..eef0aaa 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Configuration and options can be found at [draculatheme.com/tmux](https://dracul * Support for powerline * Day, date, time, timezone * Current location based on network with temperature and forecast icon (if available) -* Network connection status, bandwith and SSID +* Network connection status, bandwidth and SSID * Git branch and status * Battery percentage and AC power connection status * Refresh rate control diff --git a/scripts/dracula.sh b/scripts/dracula.sh index cba4922..f530187 100755 --- a/scripts/dracula.sh +++ b/scripts/dracula.sh @@ -156,10 +156,10 @@ main() script="#($current_dir/network.sh)" fi - if [ $plugin = "network-bandwith" ]; then - IFS=' ' read -r -a colors <<< $(get_tmux_option "@dracula-network-bandwith-colors" "cyan dark_gray") + if [ $plugin = "network-bandwidth" ]; then + IFS=' ' read -r -a colors <<< $(get_tmux_option "@dracula-network-bandwidth-colors" "cyan dark_gray") tmux set-option -g status-right-length 250 - script="#($current_dir/network_bandwith.sh)" + script="#($current_dir/network_bandwidth.sh)" fi if [ $plugin = "weather" ]; then diff --git a/scripts/network_bandwith.sh b/scripts/network_bandwidth.sh similarity index 92% rename from scripts/network_bandwith.sh rename to scripts/network_bandwidth.sh index 675f39b..35b7b79 100755 --- a/scripts/network_bandwith.sh +++ b/scripts/network_bandwidth.sh @@ -2,7 +2,7 @@ INTERVAL="1" # update interval in seconds -network_name=$(tmux show-option -gqv "@dracula-network-bandwith") +network_name=$(tmux show-option -gqv "@dracula-network-bandwidth") main() { while true