diff --git a/config.el b/config.el index ad9c9d6..0961ac6 100644 --- a/config.el +++ b/config.el @@ -16,7 +16,7 @@ (add-to-list 'default-frame-alist '(width . 100)))) (setq catppuccin-flavor 'catppuccin) -(setq doom-theme 'modus-operandi) +(setq doom-theme 'modus-vivendi-tritanopia) (setq display-line-numbers-type 'relative) (setq org-directory "~/org/") @@ -157,4 +157,4 @@ #'my/org-latex-preview-uncenter))) ) -;; (add-to-list 'org-modules 'org-habit) +(add-to-list 'org-modules 'org-habit) diff --git a/config.org b/config.org index 50060a7..89d5689 100644 --- a/config.org +++ b/config.org @@ -25,7 +25,7 @@ (add-to-list 'default-frame-alist '(width . 100)))) (setq catppuccin-flavor 'catppuccin) -(setq doom-theme 'modus-operandi) +(setq doom-theme 'modus-vivendi-tritanopia) (setq display-line-numbers-type 'relative) (setq org-directory "~/org/") #+end_src @@ -195,12 +195,12 @@ Thisenables the feature of auto-expanding snippets when matching the pattern *** Org #+begin_src emacs-lisp :tangle packages.el (package! org :recipe - (:host nil :repo "https://code.tecosaur.net/mirrors/org-mode.git" - :remote "mirror" :fork - (:host nil :repo "https://code.tecosaur.net/tec/org-mode.git" - :branch "dev" :remote "tecosaur") - :files (:defaults "etc") :build t :pre-build - (with-temp-file "lisp/org-version.el" + (:host nil :repo "https://code.tecosaur.net/mirrors/org-mode.git" :remote "mirror" :fork + (:host nil :repo "https://code.tecosaur.net/tec/org-mode.git" :branch "dev" :remote "tecosaur") + :files + (:defaults "etc") + :build t :pre-build + (with-temp-file "org-version.el" (require 'lisp-mnt) (let ((version @@ -210,18 +210,14 @@ Thisenables the feature of auto-expanding snippets when matching the pattern (git-version (string-trim (with-temp-buffer - (call-process "git" nil t nil "rev-parse" - "--short" "HEAD") + (call-process "git" nil t nil "rev-parse" "--short" "HEAD") (buffer-string))))) (insert - (format - "(defun org-release () \"The release version of Org.\" %S)\n" - version) - (format - "(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n" - git-version) + (format "(defun org-release () \"The release version of Org.\" %S)\n" version) + (format "(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n" git-version) "(provide 'org-version)\n")))) :pin nil) + (unpin! org) #+end_src **** Latex live-preview (fast) @@ -306,5 +302,5 @@ Thisenables the feature of auto-expanding snippets when matching the pattern #+end_src **** org habit #+begin_src emacs-lisp -;; (add-to-list 'org-modules 'org-habit) +(add-to-list 'org-modules 'org-habit) #+end_src diff --git a/packages.el b/packages.el index 650c0c7..46127e9 100644 --- a/packages.el +++ b/packages.el @@ -14,12 +14,12 @@ :recipe (:host github :repo "havarddj/typst-preview.el")) (package! org :recipe - (:host nil :repo "https://code.tecosaur.net/mirrors/org-mode.git" - :remote "mirror" :fork - (:host nil :repo "https://code.tecosaur.net/tec/org-mode.git" - :branch "dev" :remote "tecosaur") - :files (:defaults "etc") :build t :pre-build - (with-temp-file "lisp/org-version.el" + (:host nil :repo "https://code.tecosaur.net/mirrors/org-mode.git" :remote "mirror" :fork + (:host nil :repo "https://code.tecosaur.net/tec/org-mode.git" :branch "dev" :remote "tecosaur") + :files + (:defaults "etc") + :build t :pre-build + (with-temp-file "org-version.el" (require 'lisp-mnt) (let ((version @@ -29,16 +29,12 @@ (git-version (string-trim (with-temp-buffer - (call-process "git" nil t nil "rev-parse" - "--short" "HEAD") + (call-process "git" nil t nil "rev-parse" "--short" "HEAD") (buffer-string))))) (insert - (format - "(defun org-release () \"The release version of Org.\" %S)\n" - version) - (format - "(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n" - git-version) + (format "(defun org-release () \"The release version of Org.\" %S)\n" version) + (format "(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n" git-version) "(provide 'org-version)\n")))) :pin nil) + (unpin! org)