Reapply "feat(config): Switch to dark theme and enable"
This reverts commit d78e61c800.
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
(add-to-list 'default-frame-alist '(width . 100))))
|
(add-to-list 'default-frame-alist '(width . 100))))
|
||||||
|
|
||||||
(setq catppuccin-flavor 'catppuccin)
|
(setq catppuccin-flavor 'catppuccin)
|
||||||
(setq doom-theme 'modus-operandi)
|
(setq doom-theme 'modus-vivendi-tritanopia)
|
||||||
(setq display-line-numbers-type 'relative)
|
(setq display-line-numbers-type 'relative)
|
||||||
(setq org-directory "~/org/")
|
(setq org-directory "~/org/")
|
||||||
|
|
||||||
@@ -159,4 +159,4 @@
|
|||||||
#'my/org-latex-preview-uncenter)))
|
#'my/org-latex-preview-uncenter)))
|
||||||
)
|
)
|
||||||
|
|
||||||
;; (add-to-list 'org-modules 'org-habit)
|
(add-to-list 'org-modules 'org-habit)
|
||||||
|
|||||||
48
config.org
48
config.org
@@ -29,7 +29,7 @@
|
|||||||
(add-to-list 'default-frame-alist '(width . 100))))
|
(add-to-list 'default-frame-alist '(width . 100))))
|
||||||
|
|
||||||
(setq catppuccin-flavor 'catppuccin)
|
(setq catppuccin-flavor 'catppuccin)
|
||||||
(setq doom-theme 'modus-operandi)
|
(setq doom-theme 'modus-vivendi-tritanopia)
|
||||||
(setq display-line-numbers-type 'relative)
|
(setq display-line-numbers-type 'relative)
|
||||||
(setq org-directory "~/org/")
|
(setq org-directory "~/org/")
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -199,12 +199,12 @@ Thisenables the feature of auto-expanding snippets when matching the pattern
|
|||||||
*** Org
|
*** Org
|
||||||
#+begin_src emacs-lisp :tangle packages.el
|
#+begin_src emacs-lisp :tangle packages.el
|
||||||
(package! org :recipe
|
(package! org :recipe
|
||||||
(:host nil :repo "https://code.tecosaur.net/mirrors/org-mode.git"
|
(:host nil :repo "https://code.tecosaur.net/mirrors/org-mode.git" :remote "mirror" :fork
|
||||||
:remote "mirror" :fork
|
(:host nil :repo "https://code.tecosaur.net/tec/org-mode.git" :branch "dev" :remote "tecosaur")
|
||||||
(:host nil :repo "https://code.tecosaur.net/tec/org-mode.git"
|
:files
|
||||||
:branch "dev" :remote "tecosaur")
|
(:defaults "etc")
|
||||||
:files (:defaults "etc") :build t :pre-build
|
:build t :pre-build
|
||||||
(with-temp-file "lisp/org-version.el"
|
(with-temp-file "org-version.el"
|
||||||
(require 'lisp-mnt)
|
(require 'lisp-mnt)
|
||||||
(let
|
(let
|
||||||
((version
|
((version
|
||||||
@@ -214,18 +214,14 @@ Thisenables the feature of auto-expanding snippets when matching the pattern
|
|||||||
(git-version
|
(git-version
|
||||||
(string-trim
|
(string-trim
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(call-process "git" nil t nil "rev-parse"
|
(call-process "git" nil t nil "rev-parse" "--short" "HEAD")
|
||||||
"--short" "HEAD")
|
|
||||||
(buffer-string)))))
|
(buffer-string)))))
|
||||||
(insert
|
(insert
|
||||||
(format
|
(format "(defun org-release () \"The release version of Org.\" %S)\n" version)
|
||||||
"(defun org-release () \"The release version of Org.\" %S)\n"
|
(format "(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n" git-version)
|
||||||
version)
|
|
||||||
(format
|
|
||||||
"(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n"
|
|
||||||
git-version)
|
|
||||||
"(provide 'org-version)\n"))))
|
"(provide 'org-version)\n"))))
|
||||||
:pin nil)
|
:pin nil)
|
||||||
|
|
||||||
(unpin! org)
|
(unpin! org)
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Latex live-preview (fast)
|
**** Latex live-preview (fast)
|
||||||
@@ -288,27 +284,7 @@ Thisenables the feature of auto-expanding snippets when matching the pattern
|
|||||||
#'my/org-latex-preview-uncenter)))
|
#'my/org-latex-preview-uncenter)))
|
||||||
)
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Org-roam (deprecated)
|
|
||||||
#+begin_src emacs-lisp :tangle no
|
|
||||||
(use-package! org-roam
|
|
||||||
:ensure t
|
|
||||||
:custom
|
|
||||||
(org-roam-directory (file-truename "~/org/roam"))
|
|
||||||
:bind (("C-c n r l" . org-roam-buffer-toggle)
|
|
||||||
("C-c n r f" . org-roam-node-find)
|
|
||||||
("C-c n r g" . org-roam-graph)
|
|
||||||
("C-c n r i" . org-roam-node-insert)
|
|
||||||
("C-c n r c" . org-roam-capture)
|
|
||||||
;; Dailies
|
|
||||||
("C-c n r j" . org-roam-dailies-capture-today))
|
|
||||||
:config
|
|
||||||
;; If you're using a vertical completion framework, you might want a more informative completion interface
|
|
||||||
(setq org-roam-node-display-template (concat "${title:*} " (propertize "${tags:10}" 'face 'org-tag)))
|
|
||||||
(org-roam-db-autosync-mode)
|
|
||||||
;; If using org-roam-protocol
|
|
||||||
(require 'org-roam-protocol))
|
|
||||||
#+end_src
|
|
||||||
**** org habit
|
**** org habit
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; (add-to-list 'org-modules 'org-habit)
|
(add-to-list 'org-modules 'org-habit)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|||||||
24
packages.el
24
packages.el
@@ -14,12 +14,12 @@
|
|||||||
:recipe (:host github :repo "havarddj/typst-preview.el"))
|
:recipe (:host github :repo "havarddj/typst-preview.el"))
|
||||||
|
|
||||||
(package! org :recipe
|
(package! org :recipe
|
||||||
(:host nil :repo "https://code.tecosaur.net/mirrors/org-mode.git"
|
(:host nil :repo "https://code.tecosaur.net/mirrors/org-mode.git" :remote "mirror" :fork
|
||||||
:remote "mirror" :fork
|
(:host nil :repo "https://code.tecosaur.net/tec/org-mode.git" :branch "dev" :remote "tecosaur")
|
||||||
(:host nil :repo "https://code.tecosaur.net/tec/org-mode.git"
|
:files
|
||||||
:branch "dev" :remote "tecosaur")
|
(:defaults "etc")
|
||||||
:files (:defaults "etc") :build t :pre-build
|
:build t :pre-build
|
||||||
(with-temp-file "lisp/org-version.el"
|
(with-temp-file "org-version.el"
|
||||||
(require 'lisp-mnt)
|
(require 'lisp-mnt)
|
||||||
(let
|
(let
|
||||||
((version
|
((version
|
||||||
@@ -29,16 +29,12 @@
|
|||||||
(git-version
|
(git-version
|
||||||
(string-trim
|
(string-trim
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(call-process "git" nil t nil "rev-parse"
|
(call-process "git" nil t nil "rev-parse" "--short" "HEAD")
|
||||||
"--short" "HEAD")
|
|
||||||
(buffer-string)))))
|
(buffer-string)))))
|
||||||
(insert
|
(insert
|
||||||
(format
|
(format "(defun org-release () \"The release version of Org.\" %S)\n" version)
|
||||||
"(defun org-release () \"The release version of Org.\" %S)\n"
|
(format "(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n" git-version)
|
||||||
version)
|
|
||||||
(format
|
|
||||||
"(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n"
|
|
||||||
git-version)
|
|
||||||
"(provide 'org-version)\n"))))
|
"(provide 'org-version)\n"))))
|
||||||
:pin nil)
|
:pin nil)
|
||||||
|
|
||||||
(unpin! org)
|
(unpin! org)
|
||||||
|
|||||||
Reference in New Issue
Block a user