Fix typos in network_bandwith -> network_bandwidth

This commit is contained in:
Marc 2021-09-13 22:00:18 +01:00
parent afd4d17996
commit c558b6b024
No known key found for this signature in database
GPG key ID: 0657563F705ACAAE
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. The order that you define the plugins will be the order on the status bar left to right.
```bash ```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" 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 * Support for powerline
* Day, date, time, timezone * Day, date, time, timezone
* Current location based on network with temperature and forecast icon (if available) * 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 * Git branch and status
* Battery percentage and AC power connection status * Battery percentage and AC power connection status
* Refresh rate control * Refresh rate control

View file

@ -156,10 +156,10 @@ main()
script="#($current_dir/network.sh)" script="#($current_dir/network.sh)"
fi fi
if [ $plugin = "network-bandwith" ]; then if [ $plugin = "network-bandwidth" ]; then
IFS=' ' read -r -a colors <<< $(get_tmux_option "@dracula-network-bandwith-colors" "cyan dark_gray") IFS=' ' read -r -a colors <<< $(get_tmux_option "@dracula-network-bandwidth-colors" "cyan dark_gray")
tmux set-option -g status-right-length 250 tmux set-option -g status-right-length 250
script="#($current_dir/network_bandwith.sh)" script="#($current_dir/network_bandwidth.sh)"
fi fi
if [ $plugin = "weather" ]; then if [ $plugin = "weather" ]; then

View file

@ -2,7 +2,7 @@
INTERVAL="1" # update interval in seconds 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() { main() {
while true while true