Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/transacid/sunbar

a (swift|x|bit)bar sunset and sunrise display
https://github.com/transacid/sunbar

go golang swiftbar-plugins

Last synced: 14 days ago
JSON representation

a (swift|x|bit)bar sunset and sunrise display

Awesome Lists containing this project

README

        

# Sunbar - a (swift|x|bit)bar sunset and sunrise display
![screenshot depicting a sunset display](screenshot.png)
## Requirements
Go
### external APIs
this script uses [ipgeolocation.io](https://ipgeolocation.io/) to get the sunrise and sunset dates for you approximate location based on your IP address. The api requires an API-key that can be acquired from the website for free. since the script queries the data only one per day you won't exceed the free plan ;).
### misc
to use the compiled version do `go build -o sunbar.1m.cgo` and move it to you plugin folder. alternatively move the go sourcecode file to the plugin directory.