nerotape.blogg.se

Geektool wallpaper
Geektool wallpaper










geektool wallpaper geektool wallpaper
  1. #Geektool wallpaper update#
  2. #Geektool wallpaper code#

Set upTasks to every task in upcoming list Hitlist.scpt tell application "System Events" to if (name of every process) contains "The Hit List" then This way I can have my upcoming list pretty much in my face all the time. AppleScript gets the data from The Hit List and Python calls the AppleScript and does all the formatting of the output. It is a combination of Python and AppleScript. I'm not 100% satisfied with this script so it will likely be updated in the future yet, but this two-script combo works pretty well for my needs right now. I really like Potion Factory's The Hit List but only found a script written in Ruby that would let me get the information I wanted. # doing it this way gets rid of a preceeding blank line

#Geektool wallpaper code#

You will need to change the p= value in the URL to your own location code or you'll see what crappy weather we currently have in Edmonton. This script displays current weather conditions. #cpu=$(top -l 1| grep 'Load Avg' | awk '\n" This script displays current uptime as well as RAM and CPU usage on the system. This script displays the calendar for this month with the current day hashed out.Ĭal | sed "s/^/ / s/$/ / s/ $(date +%e) / $(date +%e | sed 's/./#/g') /" This script displays your current local and external IP addresses. They were either written by me or were found elsewhere and adapted/improved or otherwise changed to suit my needs. Some progress pictures of my desktop as I’ve developed new or updated widgets for Übersicht.The following are scripts that I use with GeekTool. I’ve moved over all my core GeekTool widgets to Übersicht and have started looking at some new ones too. Looking at replacing the predicted high temperature with the current temperature. Pretty Weather: a stripped down version of the weather widget I’m currently using.Sysmon Set: a whole set of widgets to monitor your system.The makers of Übersicht also have a gallery of widgets other users have created and were willing to share. Here’s a comparison of the output of the two scripts: Widget Gallery One common GeekTool GeekLet is displaying the availabile hard drive space on your Mac, using the following shell command: df -Hl | grep 'disk1' | awk '' GeekTool can take a shell command that you’d run in Terminal and use it for a Shell Geeklet. There are some subtle differences how GeekTool and Übersicht parse commands.

#Geektool wallpaper update#

The update section replace the contents displayed based on the refreshFrequency.Īn example of a simple widget to show your public IP address using a simply Python script: Gist linkįelix Hageloh, lead on the Übersicht software project, has more details on widget development on GitHub.

  • update : When the widget is first run, it will take the command output and display the contents via the render section.
  • render : The function that is used to parse the information from the command to the style to display on your desktop.
  • style : The CSS styling to render the information you want shown on your desktop.
  • refreshFrequency : How often you want to run the shell command to refresh the information.
  • command : The shell command that will be used to help capture what information you want to see on your desktop.
  • The basic compoents of a widget includes: Shifting over to using HTML 5 in Übersicht generates a much more visually appealing presentation than previously possible with GeekTool. But what makes Übersicht stand apart from GeekTool is getting the widgets to be based on HTML 5 using either Javascript or Coffeescript as the widget file. Like GeekTool, Übersicht will alllow a user to create self contained widgets and have them rendered on your desktop. Übersicht, from Felix Hageloh, is a great update to the GeekTool concept. A post last week by Patrick Welker ( opened me up to a new way to put widgets on my desktop. For a while I had several widgets (called Geeklets) run by GeekTool to display various information on my desktop. It’s been one of the subtle things that I’ve felt that separates OS X from Windows. I’ve been a big fan of GeekTool for a while.












    Geektool wallpaper