From 59ce6b104bf20decfde5edcae5b382a2401dfa5b Mon Sep 17 00:00:00 2001 From: lasers Date: Tue, 21 Jan 2025 05:59:11 -0600 Subject: [PATCH] whatismyip module: add an example with more url_geo choices (#2277) --- py3status/modules/whatismyip.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/py3status/modules/whatismyip.py b/py3status/modules/whatismyip.py index 98ee242d6a..a8a62a369d 100644 --- a/py3status/modules/whatismyip.py +++ b/py3status/modules/whatismyip.py @@ -35,6 +35,17 @@ color_degraded: Output is unexpected (IP/country mismatch, etc.) color_good: Online +Examples: +``` +# ip choices +whatismyip { + url_geo = "https://ifconfig.co/json" + # url_geo = "https://api.ip2location.io" + # url_geo = "https://ipinfo.io/json" + # url_geo = "http://ip-api.com/json" +} +``` + @author ultrabug, Cyril Levis (@cyrinux) SAMPLE OUTPUT