This commit is contained in:
SouthFox 2022-08-10 00:12:58 +08:00
parent 54aaa1c367
commit 3ce352d3cc
3 changed files with 18 additions and 2 deletions

View file

@ -67,7 +67,10 @@
;; There are two ways to load a theme. Both assume the theme is installed and
;; available. You can either set `doom-theme' or manually load a theme with the
;; `load-theme' function. This is the default:
(setq doom-theme 'doom-gruvbox)
(setq doom-theme 'doom-dracula)
(cnfonts-mode 1)
(setq word-wrap-by-category t)
(load! "secrets")
(setq-default custom-file (expand-file-name "secrets.el" doom-private-dir))
(when (file-exists-p custom-file)
@ -138,6 +141,12 @@
(mu4e-compose-signature . "---\nFor mu4e"))
t)
(setq sendmail-program "/usr/bin/msmtp"
send-mail-function #'smtpmail-send-it
message-sendmail-f-is-evil t
message-sendmail-extra-arguments '("--read-envelope-from")
message-send-mail-function #'message-send-mail-with-sendmail)
;; guess-word
(use-package! guess-word)
(setq guess-word-org-file (f-expand "~/Nextcloud/Documents/my-esl.org"))
@ -341,6 +350,11 @@
(file+head "reference/${title}.org" "#+title: ${title}\n")
:immediate-finish t
:unnarrowed t)
("t" "ttk" plain "%?"
:if-new
(file+head "ttk/${title}.org" "#+title: ${title}\n")
:immediate-finish t
:unnarrowed t)
("a" "article" plain "%?"
:if-new
(file+head "articles/${title}.org" "#+title: ${title}\n#+filetags: :article:\n")

View file

@ -180,7 +180,7 @@
;;solidity ; do you need a blockchain? No.
;;swift ; who asked for emoji variables?
;;terra ; Earth and Moon in alignment for performance.
web ; the tubes
(web +lsp) ; the tubes
yaml ; JSON, but readable
;;zig ; C, but simpler

View file

@ -49,6 +49,8 @@
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
;(unpin! t)
(package! rime)
(package! cnfonts)
(package! tldr)
(package! org-download)
(package! org-transclusion)