Set up org-agenda
This commit is contained in:
parent
90c5afd4f2
commit
9ff5d7c7f1
43
init.el
43
init.el
|
@ -481,19 +481,53 @@
|
|||
(python . t)
|
||||
(shell . t)
|
||||
(C . t)))
|
||||
(org-agenda-files '("~/Agenda"))
|
||||
;; NixOS minimal LaTeX setup
|
||||
(org-latex-compiler "lualatex")
|
||||
(org-preview-latex-default-process 'dvisvgm)
|
||||
:config
|
||||
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.1))
|
||||
(add-to-list 'org-modules 'org-tempo)
|
||||
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.1)
|
||||
org-modules (append '(org-tempo org-habit) org-modules))
|
||||
(with-eval-after-load 'catppuccin-theme
|
||||
(face-spec-set 'org-block `((t (:foreground ,(catppuccin-get-color 'text)))))))
|
||||
|
||||
(use-package org-alert
|
||||
:init
|
||||
(when (daemonp)
|
||||
(run-with-idle-timer 10 nil #'require 'org-alert))
|
||||
:config
|
||||
(setq org-alert-notification-title "org-alert"
|
||||
org-alert-notify-cutoff 30)
|
||||
(org-alert-enable))
|
||||
|
||||
(use-package org-modern
|
||||
:hook
|
||||
org-mode
|
||||
(org-agenda-finalize . org-modern-agenda))
|
||||
(org-agenda-finalize . org-modern-agenda)
|
||||
:config
|
||||
(with-eval-after-load 'catppuccin-theme
|
||||
(face-spec-set 'org-modern-done `((t (:foreground
|
||||
,(catppuccin-get-color 'text)
|
||||
:background
|
||||
,(catppuccin-get-color 'surface0)))))
|
||||
(face-spec-set 'org-modern-date-inactive `((t (:foreground
|
||||
,(catppuccin-get-color 'subtext0)
|
||||
:background
|
||||
,(catppuccin-get-color 'surface0)))))
|
||||
(face-spec-set 'org-modern-horizontal-rule `((t (:strike-through
|
||||
,(catppuccin-get-color 'overlay1)))))
|
||||
(face-spec-set 'org-modern-tag `((t (:foreground
|
||||
,(catppuccin-get-color 'base)
|
||||
:background
|
||||
,(catppuccin-get-color 'sapphire)))))
|
||||
(face-spec-set 'org-modern-time-active `((t (:foreground
|
||||
,(catppuccin-get-color 'base)
|
||||
:background
|
||||
,(catppuccin-get-color 'overlay2)))))
|
||||
(face-spec-set 'org-modern-time-inactive `((t (:foreground
|
||||
,(catppuccin-get-color 'base)
|
||||
:background
|
||||
,(catppuccin-get-color 'surface0)))))))
|
||||
|
||||
(use-package org-modern-indent
|
||||
:ensure nil
|
||||
|
@ -885,7 +919,8 @@
|
|||
:config
|
||||
(scroll-bar-mode 0))
|
||||
|
||||
(setq pixel-scroll-precision-large-scroll-height 40)
|
||||
(setq pixel-scroll-precision-large-scroll-height 40
|
||||
fast-but-imprecise-scrolling t)
|
||||
(pixel-scroll-precision-mode)
|
||||
|
||||
(setcar mouse-wheel-scroll-amount 3)
|
||||
|
|
Loading…
Reference in a new issue