mirror of https://github.com/polybar/polybar.git
Add instructions for getting the network interface
parent
48d0bbba31
commit
0b6883f6fe
|
@ -1,7 +1,7 @@
|
||||||
This module shows information about the specified network interface.
|
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.
|
**NOTE:** If you use both a wired and a wireless network, you need two module
|
||||||
For example:
|
definitions if you want both to be displayed. For example:
|
||||||
|
|
||||||
> ~~~ ini
|
> ~~~ ini
|
||||||
> [module/wired-network]
|
> [module/wired-network]
|
||||||
|
@ -17,6 +17,9 @@ This module shows information about the specified network interface.
|
||||||
~~~ ini
|
~~~ ini
|
||||||
[module/network]
|
[module/network]
|
||||||
type = internal/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
|
interface = wlan1
|
||||||
|
|
||||||
; Seconds to sleep between updates
|
; Seconds to sleep between updates
|
||||||
|
|
Loading…
Reference in New Issue