forked from colonelpanic/dotfiles
[Emacs] Fix org-config
This commit is contained in:
parent
0547845e3d
commit
ccb77eda56
@ -664,8 +664,8 @@ alphanumeric characters only."
|
|||||||
#+end_src
|
#+end_src
|
||||||
* Packages
|
* Packages
|
||||||
** org-present
|
** org-present
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp :tangle org-config-config.el
|
||||||
(use-package org-present :tangle org-config-config.el
|
(use-package org-present
|
||||||
:after org
|
:after org
|
||||||
:commands org-present)
|
:commands org-present)
|
||||||
#+end_src
|
#+end_src
|
||||||
@ -806,15 +806,11 @@ alphanumeric characters only."
|
|||||||
:after org
|
:after org
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(defun imalison:org-notify-notification-handler (plist)
|
|
||||||
(imalison:notify-send (plist-get plist :heading) (org-notify-body-text plist)))
|
|
||||||
|
|
||||||
(setq org-show-notification-handler 'imalison:org-notify-notification-handler)
|
(setq org-show-notification-handler 'org-notify-action-notify)
|
||||||
|
|
||||||
(org-notify-add 'default
|
(org-notify-add 'default
|
||||||
'(:time "1h" :actions imalison:org-notify-notification-handler
|
'(:time "0s"
|
||||||
:period "2m" :duration 60))
|
|
||||||
(org-notify-add 'default '(:time "100m" :actions imalison:org-notify-notification-handler
|
|
||||||
:period "2m" :duration 60))
|
:period "2m" :duration 60))
|
||||||
(org-notify-add 'urgent-second '(:time "3m" :actions (-notify/window -ding)
|
(org-notify-add 'urgent-second '(:time "3m" :actions (-notify/window -ding)
|
||||||
:period "15s" :duration 10))
|
:period "15s" :duration 10))
|
||||||
|
Loading…
Reference in New Issue
Block a user