Skip to content

Commit

Permalink
whatismyip: add an example with more url_geo choices
Browse files Browse the repository at this point in the history
  • Loading branch information
lasers committed Dec 24, 2024
1 parent 5d73d00 commit f747ec7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions py3status/modules/whatismyip.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,17 @@
color_degraded: Output is unexpected (IP/country mismatch, etc.)
color_good: Online
Examples:
```
# ip options
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
Expand Down

0 comments on commit f747ec7

Please sign in to comment.