![]() ![]() I'll try playing around with the parameters in the script to see if I. The only problem is that the temperatures at the bottom are getting cropped. At least the forecast image shows up now. I've added the font, color, opacity and units options that forecast.io allows. Is this normal Not a big deal, I just moved the geeklet so I couldn't see that text. Note: don't forget the file://localhost part, or else it will not find the image. (you can make this whatever you want)Ĭheck the override text so that there is no text shown on the screen. 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: You can use the site itouchmap to find out your latitude and longitude. NB Webkit2Png uses Python, and on OSX when it runs itll put an icon in the dock. Then, point an image geeklet at /tmp/GeekWeather.png. ![]() ist Drop that into /Library/LaunchAgents. Git clone Get your location's latitude and longitude: Run the script via LaunchD or via a script geeklet that returns no output. 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. |