Thread 3bb01e0e

Ah bother, that doesn’t seem to have posted very nicely at all, the alfred command field should be:

# if a timer is running, kill it
pid=$(ps ax | grep -E "osascript .*/geektooltimer" | grep -v grep | awk '{print $1}')
[[ $pid ]] && kill $pid
# Clear any existing text
/usr/bin/osascript -e 'tell application "GeekTool Helper" to set command of shell geeklet named "GeekTimer" to "echo"'
/usr/bin/osascript ~/Documents/Geektool/GeekTimer/geektooltimer.applescript {query} 2>&1 &