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. 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.
0 Comments
Leave a Reply. |