Revert "feat(config): Switch to dark theme and enable"
This reverts commit 59e3b5c935.
This commit is contained in:
@@ -16,7 +16,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-vivendi-tritanopia)
|
(setq doom-theme 'modus-operandi)
|
||||||
(setq display-line-numbers-type 'relative)
|
(setq display-line-numbers-type 'relative)
|
||||||
(setq org-directory "~/org/")
|
(setq org-directory "~/org/")
|
||||||
|
|
||||||
@@ -157,4 +157,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)
|
||||||
|
|||||||
28
config.org
28
config.org
@@ -25,7 +25,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-vivendi-tritanopia)
|
(setq doom-theme 'modus-operandi)
|
||||||
(setq display-line-numbers-type 'relative)
|
(setq display-line-numbers-type 'relative)
|
||||||
(setq org-directory "~/org/")
|
(setq org-directory "~/org/")
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -195,12 +195,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" :remote "mirror" :fork
|
(:host nil :repo "https://code.tecosaur.net/mirrors/org-mode.git"
|
||||||
(:host nil :repo "https://code.tecosaur.net/tec/org-mode.git" :branch "dev" :remote "tecosaur")
|
:remote "mirror" :fork
|
||||||
:files
|
(:host nil :repo "https://code.tecosaur.net/tec/org-mode.git"
|
||||||
(:defaults "etc")
|
:branch "dev" :remote "tecosaur")
|
||||||
:build t :pre-build
|
:files (:defaults "etc") :build t :pre-build
|
||||||
(with-temp-file "org-version.el"
|
(with-temp-file "lisp/org-version.el"
|
||||||
(require 'lisp-mnt)
|
(require 'lisp-mnt)
|
||||||
(let
|
(let
|
||||||
((version
|
((version
|
||||||
@@ -210,14 +210,18 @@ 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" "--short" "HEAD")
|
(call-process "git" nil t nil "rev-parse"
|
||||||
|
"--short" "HEAD")
|
||||||
(buffer-string)))))
|
(buffer-string)))))
|
||||||
(insert
|
(insert
|
||||||
(format "(defun org-release () \"The release version of Org.\" %S)\n" version)
|
(format
|
||||||
(format "(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n" git-version)
|
"(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"))))
|
"(provide 'org-version)\n"))))
|
||||||
:pin nil)
|
:pin nil)
|
||||||
|
|
||||||
(unpin! org)
|
(unpin! org)
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Latex live-preview (fast)
|
**** Latex live-preview (fast)
|
||||||
@@ -302,5 +306,5 @@ Thisenables the feature of auto-expanding snippets when matching the pattern
|
|||||||
#+end_src
|
#+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
|
||||||
|
|||||||
4
init.el
4
init.el
@@ -53,8 +53,8 @@
|
|||||||
( zen +mixed-pitch-mode) ; distraction-free coding or writing
|
( zen +mixed-pitch-mode) ; distraction-free coding or writing
|
||||||
|
|
||||||
:editor
|
:editor
|
||||||
;; (meow +qwerty)
|
(meow +qwerty)
|
||||||
(evil +everywhere) ; come to the dark side, we have cookies
|
;; (evil +everywhere) ; come to the dark side, we have cookies
|
||||||
file-templates ; auto-snippets for empty files
|
file-templates ; auto-snippets for empty files
|
||||||
fold ; (nigh) universal code folding
|
fold ; (nigh) universal code folding
|
||||||
(format +onsave +lsp) ; automated prettiness
|
(format +onsave +lsp) ; automated prettiness
|
||||||
|
|||||||
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" :remote "mirror" :fork
|
(:host nil :repo "https://code.tecosaur.net/mirrors/org-mode.git"
|
||||||
(:host nil :repo "https://code.tecosaur.net/tec/org-mode.git" :branch "dev" :remote "tecosaur")
|
:remote "mirror" :fork
|
||||||
:files
|
(:host nil :repo "https://code.tecosaur.net/tec/org-mode.git"
|
||||||
(:defaults "etc")
|
:branch "dev" :remote "tecosaur")
|
||||||
:build t :pre-build
|
:files (:defaults "etc") :build t :pre-build
|
||||||
(with-temp-file "org-version.el"
|
(with-temp-file "lisp/org-version.el"
|
||||||
(require 'lisp-mnt)
|
(require 'lisp-mnt)
|
||||||
(let
|
(let
|
||||||
((version
|
((version
|
||||||
@@ -29,12 +29,16 @@
|
|||||||
(git-version
|
(git-version
|
||||||
(string-trim
|
(string-trim
|
||||||
(with-temp-buffer
|
(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)))))
|
(buffer-string)))))
|
||||||
(insert
|
(insert
|
||||||
(format "(defun org-release () \"The release version of Org.\" %S)\n" version)
|
(format
|
||||||
(format "(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n" git-version)
|
"(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"))))
|
"(provide 'org-version)\n"))))
|
||||||
:pin nil)
|
:pin nil)
|
||||||
|
|
||||||
(unpin! org)
|
(unpin! org)
|
||||||
|
|||||||
Reference in New Issue
Block a user