diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/general.el | 7 | ||||
-rw-r--r-- | lisp/org-custom.el | 57 |
2 files changed, 19 insertions, 45 deletions
diff --git a/lisp/general.el b/lisp/general.el index f2bb678..c081276 100644 --- a/lisp/general.el +++ b/lisp/general.el @@ -54,9 +54,10 @@ ;; Default Values (setq-default indent-tabs-mode nil) ; use spaces only if nil (setq-default tab-width 2) ; Assuming you want your tabs to be four spaces wide - ;(set-face-attribute 'default nil :font "Source Code Pro-11") -(set-face-attribute 'default nil :font "Monaco-10") -(set-fontset-font t '(?😊 . ?😎) "Segoe UI Emoji") + +(setq default-font "JetBrains Mono Nerd") +(setq default-font-size 14) +(setq current-font-size default-font-size) ;;(set-face-attribute 'default nil :height 110 :family "Consolas") (set-language-environment "UTF-8") 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)) |