Merge pull request #123 from foxtrot/fix-bandwidth-typo

Fix typos in network_bandwith -> network_bandwidth
This commit is contained in:
Ethan Edwards 2021-10-09 19:56:10 -04:00 committed by GitHub
commit 874374444c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View file

@ -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"
```

View file

@ -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

View file

@ -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

View file

@ -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