Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fubarhouse/ipinfo-polybar
https://github.com/fubarhouse/ipinfo-polybar
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fubarhouse/ipinfo-polybar
- Owner: fubarhouse
- License: mit
- Created: 2020-04-18T12:23:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-19T23:47:18.000Z (over 4 years ago)
- Last Synced: 2023-08-06T11:42:58.453Z (over 1 year ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IPInfo Polybar module
This tool will perform a `GET` request to `ipinfo.io` and output the response as a formatted string.
## Usage
```
ipinfo-polybar -f "%city%, %country% (%ip%)"
```## Example
```
[module/ipinfo]
type = custom/script
label = %output%
exec = /path/to/ipinfo-polybar -f "%city%, %country% (%ip%)"
interval = 60
```