[emacs] Use sound + notification for org clocks

This commit is contained in:
Sebastian Schulze 2018-10-11 08:24:09 +02:00
parent 0556bad604
commit b03d3ab677
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
2 changed files with 3 additions and 4 deletions

View File

@ -444,8 +444,6 @@ This function is called at the very end of Spacemacs initialization."
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(org-clock-sound t)
'(org-show-notification-handler "notify-send")
'(package-selected-packages
(quote
(seeing-is-believing prettier-js helm-git-grep evil-ediff doom-modeline eldoc-eval shrink-path zeal-at-point yasnippet-snippets yapfify xterm-color ws-butler writeroom-mode winum which-key web-mode web-beautify volatile-highlights vi-tilde-fringe uuidgen use-package unfill toml-mode toc-org tagedit symon string-inflection sql-indent spray spaceline-all-the-icons smeargle slim-mode shell-pop selectric-mode scss-mode sass-mode salt-mode rvm ruby-tools ruby-test-mode ruby-refactor ruby-hash-syntax rubocop rspec-mode robe restclient-helm restart-emacs rbenv rake rainbow-delimiters racer pyvenv pytest pyenv-mode py-isort puppet-mode pug-mode popwin pocket-reader pippel pipenv pip-requirements persp-mode password-generator paradox pandoc-mode ox-pandoc overseer origami orgit org-super-agenda org-projectile org-present org-pomodoro org-mru-clock org-mime org-journal org-download org-cliplink org-bullets org-brain open-junk-file ob-restclient ob-http neotree nameless mwim multi-term mu4e-maildirs-extension mu4e-conversation mu4e-alert move-text minitest markdown-toc magit-svn magit-gitflow macrostep lsp-ui lsp-python lsp-javascript-typescript lorem-ipsum livid-mode live-py-mode link-hint less-css-mode ledger-mode kaolin-themes json-navigator js2-refactor js-doc jinja2-mode insert-shebang indent-guide importmagic impatient-mode hungry-delete hledger-mode hl-todo highlight-parentheses highlight-numbers highlight-indentation helm-xref helm-themes helm-swoop helm-pydoc helm-purpose helm-projectile helm-mu helm-mode-manager helm-make helm-gitignore helm-flx helm-descbinds helm-dash helm-css-scss helm-company helm-c-yasnippet helm-ag gruvbox-theme graphviz-dot-mode google-translate golden-ratio gnuplot gitignore-templates gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link git-gutter-fringe git-gutter-fringe+ gh-md fuzzy font-lock+ flyspell-correct-helm flycheck-yamllint flycheck-rust flycheck-pos-tip flycheck-ledger flycheck-bashate flx-ido fish-mode fill-column-indicator fancy-battery eyebrowse expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-org evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-magit evil-lisp-state evil-lion evil-indent-plus evil-iedit-state evil-goggles evil-exchange evil-escape evil-cleverparens evil-args evil-anzu eval-sexp-fu eshell-z eshell-prompt-extras esh-help emmet-mode elisp-slime-nav editorconfig dumb-jump dotenv-mode doom-themes dockerfile-mode docker diminish diff-hl dictcc define-word cython-mode csv-mode counsel-projectile company-web company-terraform company-tern company-statistics company-shell company-restclient company-lsp company-ansible company-anaconda column-enforce-mode clean-aindent-mode chruby centered-cursor-mode cargo bundler browse-at-remote beginend auto-yasnippet auto-highlight-symbol auto-dictionary auto-compile atomic-chrome ansible-doc ansible aggressive-indent ace-window ace-link ace-jump-helm-line ac-ispell))))

View File

@ -49,7 +49,8 @@
(setq org-refile-use-outline-path 'file)
(setq org-outline-path-complete-in-steps nil)
(setq org-refile-allow-creating-parent-nodes 'confirm)
(setq org-completion-use-ido t)
(setq org-clock-sound t)
(setq org-show-notification-handler "notify-send")
(setq org-tag-faces (quote (
("next" . "red")
@ -164,13 +165,13 @@
(setq org-bullets-bullet-list
'("" "" ""))
; Recent loops callable for daily review
; Daily Review
(defun my-daily-review ()
(interactive)
(find-file "/home/bascht/Documents/Zettelkasten/Todo.org")
(end-of-buffer))
; Recent loops callable for daily review
(defun my-org-agenda-recent-open-loops ()
(interactive)
(let ((org-agenda-start-with-log-mode t)