Subject: [PATCH] Add emacs-frames-only-mode

From: [email-masked]
Date: Fri, 02 Oct 2020 10:50:19 +0000

Sorry i forgot to add dependencies.

From ae1901ff1e6ead63274312a26107c387f974fb93 Mon Sep 17 00:00:00 2001
From: AuPath <[email-masked]>
Date: Fri, 2 Oct 2020 12:43:24 +0200
Subject: [PATCH] gnu: Add emacs-frames-only-mode.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e3ec431d94..e7bdeb0afa 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -23076,6 +23076,31 @@ icon support, git integration, and several other utilities.")
 replicate some of the features of the Doom modeline package.")
     (license license:gpl2+)))
 
+(define-public emacs-frames-only-mode
+  (package
+    (name "emacs-frames-only-mode")
+    (version "1.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/davidshepherd7/frames-only-mode")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0y0sdjixaxvywrlp2sw51wnczhk51q1svl5aghbk9rkxpwv9ys9v"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-dash" ,emacs-dash)
+       ("emacs-s" ,emacs-s)))
+    (home-page "https://github.com/davidshepherd7/frames-only-mode")
+    (synopsis "Use frames instead of Emacs windows")
+    (description
+     "An Emacs global minor mode to use Emacs frames
+(i.e. operating system windows) instead of Emacs' internal windowing system.
+This combines particularly well with tiling window managers such as XMonad.")
+    (license license:gpl3+)))
+
 (define-public emacs-shrink-path
   (package
     (name "emacs-shrink-path")
-- 
2.28.0