This commit is contained in:
Zelong Kuang
2025-12-15 22:18:56 +11:00
parent 41f46f8294
commit 94a0bdb3b8
2 changed files with 6 additions and 25 deletions

View File

@@ -5,7 +5,8 @@
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(custom-safe-themes '(custom-safe-themes
'("b3db0d7354ef14156b4d16d406b85ef4441e45a54841e11a49d6bc4933eebf58" '("2e8a28e18718c026ffc4a31acd65cf844d42c01f42b0d22b4eee8aa242a1b5d1"
"b3db0d7354ef14156b4d16d406b85ef4441e45a54841e11a49d6bc4933eebf58"
default)) default))
'(org-agenda-files '("~/org/workout.org")) '(org-agenda-files '("~/org/workout.org"))
'(package-selected-packages nil)) '(package-selected-packages nil))

View File

@@ -15,37 +15,17 @@
:hook (elpaca-after-init . solaire-global-mode)) :hook (elpaca-after-init . solaire-global-mode))
(use-package ef-themes (use-package ef-themes
:ensure t :ensure t
:init :defer nil
;; This makes the Modus commands listed below consider only the Ef
;; themes. For an alternative that includes Modus and all
;; derivative themes (like Ef), enable the
;; `modus-themes-include-derivatives-mode' instead. The manual of
;; the Ef themes has a section that explains all the possibilities:
;;
;; - Evaluate `(info "(ef-themes) Working with other Modus themes or taking over Modus")'
;; - Visit <https://protesilaos.com/emacs/ef-themes#h:6585235a-5219-4f78-9dd5-6a64d87d1b6e>
(ef-themes-take-over-modus-themes-mode 1)
:bind
(("<f5>" . modus-themes-rotate)
("C-<f5>" . modus-themes-select)
("M-<f5>" . modus-themes-load-random))
:config :config
;; All customisations here. (load-theme 'ef-day))
(setq modus-themes-mixed-fonts t)
(setq modus-themes-italic-constructs t)
;; Finally, load your theme of choice (or a random one with
;; `modus-themes-load-random', `modus-themes-load-random-dark',
;; `modus-themes-load-random-light').
(modus-themes-load-theme 'ef-day))
(use-package rainbow-delimiters (use-package rainbow-delimiters
:hook ((prog-mode . rainbow-delimiters-mode) :hook ((prog-mode . rainbow-delimiters-mode)
(typst-ts-mode . rainbow-delimiters-mode) (typst-ts-mode . rainbow-delimiters-mode)
(foo-mode . rainbow-delimiters-mode))) (foo-mode . rainbow-delimiters-mode)))
(use-package doom-modeline ;; (use-package doom-modeline
:hook (elpaca-after-init . doom-modeline-mode)) ;; :hook (elpaca-after-init . doom-modeline-mode))
(use-package minions (use-package minions
:hook elpaca-after-init) :hook elpaca-after-init)