forked from colonelpanic/dotfiles
[Emacs] Add org-pomodoro
This commit is contained in:
parent
f4703aad17
commit
ccb5306c41
@ -3204,6 +3204,7 @@ Intero seems to be causing hangs, so it has been disabled
|
|||||||
|
|
||||||
(add-to-list 'org-capture-templates
|
(add-to-list 'org-capture-templates
|
||||||
`("c" "Calendar entry" entry
|
`("c" "Calendar entry" entry
|
||||||
|
(file ,imalison:org-calendar-file)
|
||||||
,(format "%s\n%s\n%s" "* %?" imalison:created-property-string "%^T")))
|
,(format "%s\n%s\n%s" "* %?" imalison:created-property-string "%^T")))
|
||||||
|
|
||||||
(add-to-list 'org-capture-templates
|
(add-to-list 'org-capture-templates
|
||||||
@ -3487,6 +3488,11 @@ alphanumeric characters only."
|
|||||||
:after org-projectile
|
:after org-projectile
|
||||||
:bind (("C-c n p" . org-projectile-helm-template-or-project)))
|
:bind (("C-c n p" . org-projectile-helm-template-or-project)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
**** org-pomodoro
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package org-pomodoro
|
||||||
|
:after org)
|
||||||
|
#+END_SRC
|
||||||
**** org-super-agenda
|
**** org-super-agenda
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package org-super-agenda
|
(use-package org-super-agenda
|
||||||
@ -4509,23 +4515,7 @@ This is useful with server mode when editing gmail messages. I think that it is
|
|||||||
:defer t
|
:defer t
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(defun alert-notifier-notify (info)
|
(setq alert-default-style 'libnotify)))
|
||||||
(if alert-notifier-command
|
|
||||||
(let ((args
|
|
||||||
(list "-title" (alert-encode-string (plist-get info :title))
|
|
||||||
"-activate" "org.gnu.Emacs"
|
|
||||||
"-message" (alert-encode-string (plist-get info :message))
|
|
||||||
"-execute" (format "\"%s\"" (switch-to-buffer-command (plist-get info :buffer))))))
|
|
||||||
(apply #'call-process alert-notifier-command nil nil nil args))
|
|
||||||
(alert-message-notify info)))
|
|
||||||
|
|
||||||
(defun switch-to-buffer-command (buffer-name)
|
|
||||||
(emacsclient-command (format "(switch-to-buffer \\\"%s\\\")" buffer-name)))
|
|
||||||
|
|
||||||
(defun emacsclient-command (command)
|
|
||||||
(format "emacsclient --server-file='%s' -e '%s'" server-name command))
|
|
||||||
|
|
||||||
(setq alert-default-style 'notifier)))
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** sauron
|
** sauron
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
@ -4862,7 +4852,8 @@ Ensure all themes that I use are installed:
|
|||||||
|
|
||||||
(spaceline-helm-mode)
|
(spaceline-helm-mode)
|
||||||
;; 'spaceline-gh-notifier and 'imalison:muni disabled for now
|
;; 'spaceline-gh-notifier and 'imalison:muni disabled for now
|
||||||
(spaceline-spacemacs-theme)))
|
(spaceline-spacemacs-theme)
|
||||||
|
(spaceline-toggle-org-pomodoro-on)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** page-break-lines
|
** page-break-lines
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
Loading…
Reference in New Issue
Block a user