Add instructions for getting the network interface

patrick96 2020-01-07 16:17:11 +01:00
parent 48d0bbba31
commit 0b6883f6fe
No known key found for this signature in database
GPG Key ID: 521E5E03AEBCA1A7
1 changed files with 5 additions and 2 deletions

@ -1,7 +1,7 @@
This module shows information about the specified network interface.
**NOTE:** If you use both a wired and a wireless network, just add 2 module definitions.
For example:
**NOTE:** If you use both a wired and a wireless network, you need two module
definitions if you want both to be displayed. For example:
> ~~~ ini
> [module/wired-network]
@ -17,6 +17,9 @@ This module shows information about the specified network interface.
~~~ ini
[module/network]
type = internal/network
; Name of the network interface to display. You can get the names of the
; interfaces on your machine with `ip link`
; Wireless interfaces often start with `wl` and ethernet interface with `eno` or `eth`
interface = wlan1
; Seconds to sleep between updates