summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2022-06-23 23:53:48 +0200
committerAlan Pearce2022-06-23 23:53:48 +0200
commit85e5ec5e21dc780a8da3194be221dcec53127969 (patch)
tree1bb96810be611a7e006c6bc84d71b8e4b028c493
parent5f709f7ef2fd35a3a1b61aa525ac2afa69fc1d44 (diff)
downloadnixfiles-85e5ec5e21dc780a8da3194be221dcec53127969.tar.lz
nixfiles-85e5ec5e21dc780a8da3194be221dcec53127969.tar.zst
nixfiles-85e5ec5e21dc780a8da3194be221dcec53127969.zip
emacs: use a more colourful theme (modus-operandi)
-rw-r--r--user/emacs/init.el18
-rw-r--r--user/settings/emacs.nix2
2 files changed, 16 insertions, 4 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index c6c37467..9626e386 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -63,10 +63,16 @@
 
 (when (or (daemonp)
           window-system)
-  (use-package almost-mono-themes
-    :config (load-theme 'almost-mono-white t))
-  (use-package doom-themes
-    :config (load-theme 'doom-homage-white t))
+  (use-package modus-themes
+    :config (progn
+              (setq modus-themes-fringes 'subtle
+                    modus-themes-lang-checkers '(background)
+                    modus-themes-mode-line '(borderless accented)
+                    modus-themes-syntax '(alt-syntax)
+                    modus-themes-hl-line 'nil
+                    modus-themes-region '(bg-only)
+                    modus-themes-diffs 'desaturated)
+              (load-theme 'modus-operandi t)))
   (if (eq window-system 'x)
       (setq-default line-spacing 0.2))
   (setq frame-background-mode 'light)
@@ -788,6 +794,10 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 (use-package clojure-mode)
 (use-package cider
   :after clojure-mode)
+(use-package rainbow-delimiters
+  :ghook ('clojure-mode-hook
+          'emacs-lisp-mode-hook))
+
 ;;;; kubernetes
 (setq k8s-site-docs-version "v1.13")
 
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 43fead37..65b87756 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -147,6 +147,7 @@ in
       lsp-treemacs
       magit
       markdown-mode
+      modus-themes
       doom-modeline
       nginx-mode
       nix-mode
@@ -160,6 +161,7 @@ in
       quickrun
       racket-mode
       rainbow-mode
+      rainbow-delimiters
       restclient
       ripgrep
       rjsx-mode