
You can remove the symbol of the description by removing the following part of the script:Īmmend the 'yourpath' to point to the location of the weather folder where the weatherCode.scpt resides WeatherCode AppleScript Open and edit the weather description glet and replace 44418 with the number for your location and save the glet. Open the weather image glet and point the 'yourpath' to the location of the temp.png file in the weather folder and save the changes.


Go to Yahoo weather and search for the weather in your area. Place the extracted 'plain_weather' folder in your new 'weather' folder with the other glets and files.
#Geektool email download
You can download the icons from MerlinTheRed's DeviantArt page - Instructions Attachmentsĭownload all of the attachments below and save them to a new folder called 'weather'ĭownload the icons from MerlinTheRed's DeviantArt page You will need these for these geeklets to work. I found some amazing weather icons which were created based on the Yahoo weather codes. This got me thinking that I could use these codes to load an image in a geeklet rather than trying to download the image from Yahoo that was used in the other method.
#Geektool email code
I decided to take a look at the RSS feed used for the weather description and saw a section for the weather code which relates to the yahoo weather APIs and references the weather description. I thought that there had to be an easier way around this! It was always the weather icon that failed where it was attempting to scrape the icon from the Yahoo weather site. This is part of my first geektool desktop attempt and I was getting increasingly frustrated with other weather geeklets not working for me. Temperature=$(printf '%.0f' $(echo $weather | /usr/local/bin/jq '.main.temp'))Ĭondition=$(echo $weather | /usr/local/bin/jq -r '.weather.main')Įcho "$city - $condition: $temperature $unit" # Parse the latitude and longitude into their own values Latlong=$(echo $ipinfo | /usr/local/bin/jq -r '.loc') # Otherwise comment above line, uncomment here for celcius:
#Geektool email install
# Optionally just use brew: 'brew install jq' # A TON of this was stolen directly from Frederic Cambus, thanks! # add all of this as a shell script for GeekTool and configure as needed. Let me know :) For now, this is the code: # 'weatherbang' - originally an openbox conky script If you guys like this, there can be some additions made to give forecasts and more rich weather data. This is a quick one to get you a small weather report based on your location, which is derived magically from your IP address. As well when thats more done focusing on directions. I'll be releasing the Images when ready on my deviant art page. Though it takes about 5 minutes to do a month, so no need to do the whole year right away! I do understand the cal will be difficult. Get those working? Great! Hard part is now over! All you just need to A) use images and replace the old ones or B) Use the psd/ai and replace the old images.
