|
From: | address@hidden |
Subject: | [O] How to only show org-timer indicator on active mode-line not all mode-lines? |
Date: | Wed, 17 Aug 2016 19:40:01 +0800 |
(setq-defaultmode-line-format(quote(;; org-timer(:eval(unless (not org-timer-countdown-timer)(propertize (let* ((rtime (decode-time(time-subtract(timer--time org-timer-countdown-timer)(current-time))))(rmins (nth 1 rtime))(rsecs (nth 0 rtime)))(format "🕔 %d:%d" rmins rsecs))'face '(:foreground "cyan" :weight bold)'help-echo "org-timer"))))))
[Prev in Thread] | Current Thread | [Next in Thread] |