Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamline fettching of locator grid #112

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

corvus-ch
Copy link

Getting GPS locator in Conky working on my machine, I identified some easy improvements.

  • Have only one script to update the data in gridinfo.txt
  • Error handling prevents failure if gpsd is not running or is not connected to a GPS device
  • Use Conky's cat instead of execi to read the grid info

This should simplify future maintenance and improves runtime stability.

* Directly write to cache file
* Ignore errors while communicating with gpds
* Calculate gird only on eactive GPS fix
* Remove unused imports
* Reduce grid presicion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant