Label "Tomorrow" (Shell Geeklet with: echo: "Tomorrow:").Output from Apple Script: RemindersToday.scpt.Label "Today" (Shell Geeklet with: echo "Today:").LEFT: Reminders will only work for items with a reminder date and time set! They are in two parts each for Today and Tomorrow:.Wallpaper is A Desert Storm from Interfacelift.This is the new improved version with Reminders integration and accompanying geeklets! The Original Momentum Inspired Desktop was featured by Lifehacker in July 2016. Please set up the refresh rate to more than 5 minutes, because it uses my personal API key, which only allows 60 updates per minute *\5 * * * * -> refreshing every 5 minutes.ģ0 * * * * -> resfreshing every half hour. Use following command in Terminal: export VISUAL=nano crontab -eĪnd insert the text: * * * * * sh /"Path of your shell script".shĬhange the asterisks to set up the refresh rate. This time it does not have to be systemwide. To set the refresh rate of the location script you have to set up another Cronjob. Be sure that location= is in the 7th row in your ansiweatherrc config file., otherwise edit $.=7into the correct row number.
GEEKTOOL SCRIPTS 2016 CODE
This will get your location via the ipinfo.io API, save the output as a textfile and copy the city name and country code into the Ansiweather config file.
![geektool scripts 2016 geektool scripts 2016](http://www.leancrew.com/all-this/images/geektool-weathertext-output.png)
If the city/country displayed is not accurate, go into the code for any of the weather geeklets attached and look for the following two lines: lon=$'/ if $.=7' ~/ansiweatherrcĬrtl+X to exit, Y+Enter to accept changes. You can check the city and country that is being used (based on your public IP) by running the "citycountry.glet" geeklet. Current temperature and weather condition.I've separated the code into 4 different geeklets so you can format the 4 elements independently:
![geektool scripts 2016 geektool scripts 2016](https://tyhoffman.com/images/posts/mail_goal.png)
This dynamic location capability is extremely useful if you travel a lot. No need to enter your location or edit the code it will use your public IP address to determine your approximate location and pull weather data (in celsius) from. TotalFiles=$(($filesInFolder+$totalFiles))Įcho "A total of" $totalFiles $itemName $totalName $trashSize TrashSize=$(echo $diskUsageCommnd | egrep -o '(+)\stotal' | head -n1 | egrep -o '(+)')Įcho $filesInFolder "files in" $folderNameĮcho $filesInFolder "file in" $folderName PathOfTrash="/Volumes/RAID Storage/.Trashes"ĭiskUsageCommnd=$(du -sckh /Volumes/*/.Trashes ~/.Trash/) PathOfTrash="/Volumes/Drobo TimeCapsule/.Trashes" Just change/add/remote the pathOfTrash variables.