I don't know anything about mac os x.

I pipe conky into my bar. I use the following command:

#+begin_src sh
emacsclient -e "(my/org-clocked-in)" | cut -d '"' -f 2
#+end_src

Here is the function I call. I might have stolen it from somewhere, but
I haven't written a source in my .emacs.

#+begin_src emacs-lisp
(defun my/org-clocked-in ()
"I use this small function to write what I am doing in my taskbar
(conky piped into i3bar). "
(concat
 (if 
     (not 
      (eq org-clock-current-task
          nil)) (message " Working on: " ) (message ""))
 org-clock-current-task 
 (if 
     (not 
      (eq org-clock-current-task
          nil)) (message " |" ) (message ""))))
#+end_src

Judging from this¹ you wont be able to get it in the dock easily
though.

—Rasmus

Footnotes: 
¹  
http://apple.stackexchange.com/questions/19539/add-info-to-dock-menubar-from-shell-in-macosx

-- 
Sent from my Emacs


Reply via email to