![]() I've added the font, color, opacity and units options that forecast.io allows. ![]() Note: don't forget the file://localhost part, or else it will not find the image. You will need to change the p value in the URL to your own location code or youll see what crappy weather we. (you can make this whatever you want)Ĭheck the override text so that there is no text shown on the screen. This script displays current weather conditions. Should be able to use any font that is installed on your system, as PhantomJS should load it. For a 35% opacity level, use the value to. You might be able to use another type of color value, such as rgb, but this is untested. You can use any hex color code value here. forecast.io.sh LATITUDE LONGITUDE TITLE List of available options: Color: Replace the arguments with your own values. Create a Geektool script with the following format: This script is mean to grab data from the National Weather Service from a specified zipcode. You can use the site itouchmap to find out your latitude and longitude. By default it ships with only a few plug-ins capable of monitoring text files, launching scripts, and monitoring system information, but used with conjunction with user-created Geeklets (GeekTool. Git clone Get your location's latitude and longitude: ![]() Once you have Homebrew installed, you can run the following command to install imagemagick and phantomjs:īrew install imagemagick phantomjs Clone the repo into a directory: Homebrew (easiest way to install the following two packages).Make sure you have a few things installed: It uses phantomjs and imagemagick to render an image to display. This is a Geeklet that will display the weather using the forecast.io embedable code. ![]()
0 Comments
Leave a Reply. |