summaryrefslogtreecommitdiff
path: root/lisp/org-custom.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/org-custom.el')
-rw-r--r--lisp/org-custom.el57
1 files changed, 15 insertions, 42 deletions
diff --git a/lisp/org-custom.el b/lisp/org-custom.el
index 77a4b08..43dd0e7 100644
--- a/lisp/org-custom.el
+++ b/lisp/org-custom.el
@@ -5,9 +5,6 @@
(defun org-custom-hook()
"Custom org mode hook."
(setq org-hide-emphasis-markers t)
- (font-lock-add-keywords 'org-mode
- '(("^ *\\([-]\\) "
- (0 (prog1 () (compose-region (match-beginning 1) (match-end 1) "•"))))))
(let* ((variable-tuple
(cond ((x-list-fonts "Iosevka") '(:font "Iosevka"))
@@ -28,64 +25,40 @@
`(org-level-1 ((t (,@headline ,@variable-tuple :height 1.5 :weight bold))))
`(org-document-title ((t (,@headline ,@variable-tuple :height 1.3 :weight:bold))))))
- ;; TODO: Temporarily commented out in favor of Material's design
- ;; (custom-theme-set-faces
- ;; 'user
- ;; '(org-block ((t (:inherit fixed-pitch))))
- ;; '(org-code ((t (:inherit (shadow fixed-pitch)))))
- ;; '(org-document-info ((t (:foreground "dark orange"))))
- ;; '(org-document-info-keyword ((t (:inherit (shadow fixed-pitch)))))
- ;; '(org-indent ((t (:inherit (org-hide fixed-pitch)))))
- ;; '(org-link ((t (:foreground "royal blue" :underline t))))
- ;; '(org-meta-line ((t (:inherit (font-lock-comment-face fixed-pitch)))))
- ;; '(org-property-value ((t (:inherit fixed-pitch))) t)
- ;; '(org-special-keyword ((t (:inherit (font-lock-comment-face fixed-pitch)))))
- ;; '(org-table ((t (:inherit fixed-pitch :foreground "#83a598"))))
- ;; '(org-tag ((t (:inherit (shadow fixed-pitch) :weight bold :height 0.8))))
- ;; '(org-verbatim ((t (:inherit (shadow fixed-pitch))))))
-
- ;; (variable-pitch-mode 1)
-
- ;; (use-package org-bullets
- ;; :ensure t
- ;; :config
- ;; (org-bullets-mode 1)
- ;; )
- (org-indent-mode 1)
- (visual-line-mode 1)
- ;; (setq org-blank-before-new-entry (quote ((heading . nil)
- ;; (plain-list-item . nil))))
-)
+ (variable-pitch-mode 1)
+
+ (use-package org-bullets
+ :ensure t
+ :config
+ (org-bullets-mode 1)
+ )
+
+ (org-indent-mode 1)
+ (visual-line-mode 1))
(setq org-directory "~/OrgRoam")
(setq org-agenda-files '("~/OrgRoam" "~/OrgRoam/daily"))
-;(setq org-agenda-files
-; (find-lisp-find-files "~/OrgRoam" "\.org$"))
+
(setq org-todo-keywords
'((sequence "TODO" "PROGRESS" "VERIFY" "|" "DONE" "ABANDONED")))
-;; TODO: Temporarily commented out in favor of Material's design
-;; (setq org-todo-keyword-faces
-;; '(("TODO" . (:foreground "RED"))
-;; ("PROGRESS" . "royal blue")
-;; ("VERIFY" . "#E0A526")
-;; ("ABANDONED" . "light gray")
-;; ("DONE" . "dark green"))
-;; )
(setq org-return-follows-link t)
(add-hook 'org-mode-hook 'org-custom-hook)
+(use-package org-super-agenda
+ :ensure t)
+
(use-package org-alert
:ensure t
:config
(org-alert-enable)
- (setq org-alert-interval 300
+ (setq org-alert-interval 6000 ; Once per hour!
org-alert-notify-cutoff 10
org-alert-notify-after-event-cutoff nil
alert-default-style 'libnotify))