Script: network-ipinfo.io
Shows your public IP address and country of origin retrieved from ipinfo.io
.
Dependencies
curl
jq
Configuration
The minimum interval of 60 seconds is important since free usage is limited to 50,000 API requests per month.
Module
[module/network-ipinfo.io]
type = custom/script
exec = ~/.config/polybar/network-ipinfo.io.sh
interval = 60