summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2025-01-27 19:22:54 +0100
committerAlan Pearce2025-01-27 19:22:54 +0100
commit9be2f1c5b616b3fd022b290b7959db9d91359710 (patch)
tree17ff8536f3eb4c084cab35a655eba77985bbc83e /user
parent14bc20cd2439a0b7d22f01f3565e7789722bf2d9 (diff)
downloadnixfiles-9be2f1c5b616b3fd022b290b7959db9d91359710.tar.lz
nixfiles-9be2f1c5b616b3fd022b290b7959db9d91359710.tar.zst
nixfiles-9be2f1c5b616b3fd022b290b7959db9d91359710.zip
emacs: darken backgrounds of non-editing windows HEAD main
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el5
-rw-r--r--user/settings/emacs.nix1
2 files changed, 6 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 58933161..9d6ec4e5 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -135,6 +135,11 @@
             (let ((foreground (face-attribute 'font-lock-comment-face :foreground)))
               (set-face-attribute 'doom-modeline-buffer-modified nil :foreground foreground))))
 
+(use-package solaire-mode
+  :defer 1
+  :config (progn
+            (solaire-global-mode +1)))
+
 (when (eq system-type 'darwin)
   (add-to-list 'default-frame-alist '(ns-transparent-titlebar . t))
   (add-to-list 'default-frame-alist '(ns-appearance . 'light)))
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index cf519354..a99a792e 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -146,6 +146,7 @@ in
         quickrun
         rainbow-mode
         rainbow-delimiters
+        solaire-mode
         ssh-deploy
         svelte-mode
         stimmung-themes