aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2022-10-10 13:36:34 +0100
committerYann Herklotz <git@yannherklotz.com>2022-10-10 13:36:34 +0100
commit07b6f9222d743d54380faef01c5ebf7108d1f02c (patch)
treeceba19727e178e58886aba2d8ff8fff2f17e9498
parent110196dafef29ef476aa78429a2677f928571241 (diff)
downloaddotfiles-07b6f9222d743d54380faef01c5ebf7108d1f02c.tar.gz
dotfiles-07b6f9222d743d54380faef01c5ebf7108d1f02c.zip
Add emacs themes changes
-rw-r--r--doom/config.org19
-rw-r--r--doom/packages.el3
2 files changed, 19 insertions, 3 deletions
diff --git a/doom/config.org b/doom/config.org
index db10133..c58d898 100644
--- a/doom/config.org
+++ b/doom/config.org
@@ -48,13 +48,24 @@
#+begin_src emacs-lisp
(use-package ef-themes
:defer nil
+ :bind ("<f6>" . ef-themes-select)
:config
(custom-theme-set-faces! ef-themes-collection
'(proof-locked-face :inherit hl-line)
'(proof-queue-face :inherit region))
+ (setq ef-themes-height-0 2.0736
+ ef-themes-height-1 1.728
+ ef-themes-height-2 1.44
+ ef-themes-height-3 1.2
+ ef-themes-height-4 1.0
+ ef-themes-height-5 1.0
+ ef-themes-height-6 1.0
+ ef-themes-height-7 1.0
+ ef-themes-height-8 1.0)
(setq doom-theme 'ef-autumn))
(use-package modus-themes
+ :defer nil
:init
;; Add all your customizations prior to loading the themes
(setq modus-themes-region '(bg-only no-extend))
@@ -199,9 +210,7 @@
"Load theme, taking current system APPEARANCE into consideration."
(mapc #'disable-theme custom-enabled-themes)
(pcase appearance
- ;;('light (load-theme 'modus-operandi t))
- ;;('dark (load-theme 'modus-vivendi t))
- ('light (load-theme 'ef-spring t))
+ ('light (load-theme 'ef-day t))
('dark (load-theme 'ef-autumn t))))
(add-hook 'ns-system-appearance-change-functions #'ymhg/apply-theme)))
@@ -761,6 +770,10 @@ This function uses the date command line tool to do it."
:submode c-mode
:front "\\\\starthlC"
:back "\\\\stophlC")
+ (embedded-metapost
+ :submode metapost-mode
+ :front "\\\\startuseMPgraphic"
+ :back "\\\\stopuseMPgraphic")
))
(mmm-add-mode-ext-class 'ConTeXt-en/PS nil 'fancy-context)
diff --git a/doom/packages.el b/doom/packages.el
index 5207016..3d4e82a 100644
--- a/doom/packages.el
+++ b/doom/packages.el
@@ -28,6 +28,9 @@
:pin "bce665c79fc29f1e80f1eae7db7e91c56b0788fc")
(package! elfeed-score)
+(package! ef-themes
+ :recipe (:host nil :repo "https://git.sr.ht/~protesilaos/ef-themes"))
+
(package! alectryon)
;; Bibtex stuff