diff mbox series

[bug#36146,4/4] gnu: Add emacs-solaire-mode.

Message ID 640f3663-0c14-4421-ba93-7befdaead91c@www.fastmail.com
State Accepted
Headers show
Series Add various Emacs packages | expand

Commit Message

Alex Griffin June 9, 2019, 2:13 p.m. UTC
This patch adds emacs-solaire-mode, an Emacs package that gives a different background color to file-visiting buffers.
diff mbox series

Patch

From ffafc130c431a6bb7fb229048a112a6d5b8ae9bd Mon Sep 17 00:00:00 2001
From: Alex Griffin <a@ajgrf.com>
Date: Sun, 9 Jun 2019 09:02:04 -0500
Subject: [PATCH 4/4] gnu: Add emacs-solaire-mode.

* gnu/packages/emacs-xyz.scm (emacs-solaire-mode): New variable.
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index eab5fea93d..c470972737 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4093,6 +4093,30 @@  of sixteen colors suitable for a wide range of applications.  Base16 is not a
 single theme but a set of guidelines with numerous implementations.")
     (license license:expat)))
 
+(define-public emacs-solaire-mode
+  (package
+    (name "emacs-solaire-mode")
+    (version "1.0.9")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://stable.melpa.org/packages/solaire-mode-"
+               version
+               ".el"))
+        (sha256
+          (base32
+            "0v64z243n4zxrv644bjmj3dnk621411hl15ghmy4i2c4ql4cp8fa"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/hlissner/emacs-solaire-mode")
+    (synopsis "Change background of file-visiting buffers in Emacs")
+    (description
+      "@code{solaire-mode} is inspired by editors which visually distinguish
+code-editing windows from sidebars, popups, terminals, ecetera.  It changes the
+background of file-visiting buffers (and certain aspects of the UI) to make
+them easier to distinguish from other, less important buffers.")
+    (license license:expat)))
+
 (define-public emacs-prescient
   (package
     (name "emacs-prescient")
-- 
2.22.0