Created
June 29, 2016 18:35
-
-
Save Zsoldier/c2f365b10e296e09fc3cd683943e175e to your computer and use it in GitHub Desktop.
Bash script that can be used in GeekTool to generate geekweather2 geeklet image that is placed in /tmp/ directory. This particular version utilizes a python script to return city friendly name since.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LAT="$(~/Dropbox/LocateMe/LocateMe -f "{LAT}")" | |
LON="$(~/Dropbox/LocateMe/LocateMe -f "{LON}")" | |
city=$(python ~/Dropbox/GeekTool/cityLocator.py $LAT $LON) | |
~/Dropbox/GeekTool/Geekweather2.sh -A $LAT -O $LON -n $city -u UK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment