Merge pull request #123 from foxtrot/fix-bandwidth-typo
Fix typos in network_bandwith -> network_bandwidth
This commit is contained in:
commit
874374444c
4 changed files with 6 additions and 6 deletions
|
@ -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"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
Loading…
Reference in a new issue