
#TINTII FREE VERSION TRIAL#
The great thing about Photo Black & Color is that it has an undo button, so you can learn what effects are the best through trial and error. Then just hit Enter and wait, and after a few minutes, your masterpiece will be revealed. Then pick the effect you want to apply - Photo Black & Color offers you Progressive contour, Color gradient and Sepia. You'll see them appearing in the left panel, and you can remove them if you want. Pick the colors you want to keep with the dropper. Add the photo you want to work on via the Open button, or by dragging and dropping the image into the interface. Sun_set=$(echo "$current" | jq ".sys.Using Photo Black & Color couldn't be easier. Sun_rise=$(echo "$current" | jq ".sys.sunrise") If & thenĬurrent_temp=$(echo "$current" | jq ".main.temp" | cut -d "." -f 1)Ĭurrent_icon=$(echo "$current" | jq -r ".weather.icon")įorecast_temp=$(echo "$forecast" | jq "." | cut -d "." -f 1)įorecast_icon=$(echo "$forecast" | jq -r ".") # Do we have information lookup completed Location_lon="$(echo "$location" | jq '.location.lng')"Ĭurrent=$(curl -sf "$API/weather?appid=$KEY&lat=$location_lat&lon=$location_lon&units=$UNITS")įorecast=$(curl -sf "$API/forecast?appid=$KEY&lat=$location_lat&lon=$location_lon&units=$UNITS&cnt=1") Location_lat="$(echo "$location" | jq '.location.lat')" If 2>/dev/null thenĬurrent=$(curl -sf "$API/weather?appid=$KEY&$CITY_PARAM&units=$UNITS")įorecast=$(curl -sf "$API/forecast?appid=$KEY&$CITY_PARAM&units=$UNITS&cnt=1") # Choose your own symbol like ° for degrees, maybe ℉ of plain F for # OR City Name,Countrycode = Groningen,NL CITY can either be a city ID, city name or # If City is empty the script wil try to retrieve current network
#TINTII FREE VERSION FREE#
# Mandatory, without no info can be retrieved! A free key # This routine converts number, given by openweather, into glyph # # either "sun down" or "sun up" in xx:xx hours

#TINTII FREE VERSION FULL#
# full => shows temps on current + predicted + indication about # (+ arrow to indicate if temp goes up,down or the same) # future => shows temps on current + predicted weather (3 hours ahead) # commandline options either one of the following: # weather-icons (AUR => ttf-weather-icons) # OpenWeatherMap API Key (Free, get it here )

# added some simple command options to display weather in different ways # Forked from original script (unknown creator) for Mabox by BootZ Make sure it’s executable (chmod +x ) #!/bin/sh Save below script to a suitable place and give it a name. Inside the scripts also directions are given on what info to add like KEY and City. Weather-icons (AUR => ttf-weather-icons) but if you want you could use another font and copy/paste the glyph’s into the script! OpenWeatherMap API Key (Free), mandatory! When the option is invalid, no output will be shown ( ) The script allows for one command line argument, you may choose one of these įuture => shows temps current + upcoming weather (+ arrow to indicate if temp goes up,down or stays the same)įull => shows temps on current + upcoming + indication about either “sun down” or " sun up" in xx:xx hours (if your local time is past “sun down” it displays time to sunrise and vice-versa Deselect Show Icon and Cache Icon and tick the Markup selection box I have set it to run once every two minutes (120 seconds).

Important is the path to the weather script (were you saved it!), Interval (free API allows for 60 calls every minute but the script will run about 2 seconds (on my rig that is) so I advise to set it higher than 2). Other settings like font and color is up to you In the left column the was added, selected that one and changed some of the parameters to something like this: The Executor will receive also a number, one for first, two for second and so on Menu => Mabox Config => Tint2 Panels => Configure (GUI). This is what it looks like on mine:īelow I will share a script and the basic steps I took to make this happen.įirst I obtained a FREE openweather API key ( Pricing - OpenWeatherMap, click on get API key, create account etc.) I was looking for a way to display some weather info on the tint panel.
