Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zenden2k committed Jun 22, 2023
1 parent c4bb7ae commit 08f8d96
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,38 @@ show interface

All interfaces will be listed.

## Multiple interfaces and routers

You can specify multiple interfaces of the same router in "Rainmeter.data" file separating them with comma:

```
[KeeneticPlugin]
Interface=ISP,Wireguard0
```
Now specify the interface of a [Measure](https://docs.rainmeter.net/manual/measures/) in the skin file.

This plugin can be used with multiple routers.
You can create multiple sections with parameters in "Rainmeter.data" file.
Then you can use section name as Router option of a Measure in the skin file:

```
[MeasureDownloadSpeed]
Measure=Plugin
Plugin=KeeneticRainmeterPlugin
Type=download
Interface=Wireguard0
Router=MyRouter
[MeasureUploadSpeed]
Measure=Plugin
Plugin=KeeneticRainmeterPlugin
Type=upload
Interface=Wireguard0
Router=MyRouter
```

The default value for the Router option is "KeeneticPlugin".

## Building from sources

To build this plugin from source files you will need:
Expand Down

0 comments on commit 08f8d96

Please sign in to comment.