From 0b6883f6feb93a4461cd523f6f700f40326412c5 Mon Sep 17 00:00:00 2001
From: patrick96
Date: Tue, 7 Jan 2020 16:17:11 +0100
Subject: [PATCH] Add instructions for getting the network interface
---
Module:-network.md | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Module:-network.md b/Module:-network.md
index 44bbb77..f992814 100644
--- a/Module:-network.md
+++ b/Module:-network.md
@@ -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