]> git.donarmstrong.com Git - emacs.git/commitdiff
use idle org mode clock time and xprintidle
authorDon Armstrong <don@donarmstrong.com>
Mon, 4 Nov 2013 23:44:21 +0000 (15:44 -0800)
committerDon Armstrong <don@donarmstrong.com>
Mon, 4 Nov 2013 23:44:21 +0000 (15:44 -0800)
.emacs

diff --git a/.emacs b/.emacs
index 3b1d2733364f92698822fc5049f4058b02534f26..bac5e500b78c97454b92e2d4f99eec72a45b293a 100644 (file)
--- a/.emacs
+++ b/.emacs
 (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)