From: Don Armstrong Date: Mon, 4 Nov 2013 23:44:21 +0000 (-0800) Subject: use idle org mode clock time and xprintidle X-Git-Url: https://git.donarmstrong.com/?p=emacs.git;a=commitdiff_plain;h=ad9a3bbb8d63f65dc7d638330a6a4ef5da78410c use idle org mode clock time and xprintidle --- diff --git a/.emacs b/.emacs index 3b1d273..bac5e50 100644 --- a/.emacs +++ b/.emacs @@ -134,6 +134,10 @@ (add-hook 'org-clock-out-hook 'bh/remove-empty-drawer-on-clock-out 'append) +; resolve clocks after 10 minutes of idle; use xprintidle +(setq org-clock-idle-time 10) +(setq org-clock-x11idle-program-name "xprintidle") + ; this is from http://doc.norang.ca/org-mode.html#Capture ; use C-M-r for org mode capture (global-set-key (kbd "C-M-r") 'org-capture)