I would like to append some information (that changes over time) to the mode line format and then use it in the title.
My thought being is that once a minute I would set the frame-title-format to be that of the mode-line-format + pomodoro count.
Something along the lines of:
(defun runOnceAMinute () (setq frame-title-format (concat mode-line-format my/PomodoroCount)) )
But I can't quite figure out how.
I would need to update the string that I append. E.g the pomodoro-count would increment after each pomodoro.
I got it to work by editing
mode-line-format variable and using the eval construct:
("%e" ......... "[Pomodorors: " (:eval (number-to-string my/pomCount)) "]")
This is not Drew's original answer, but Drew mentioned it in his comment.