aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorjgart via Guix-patches via <guix-patches@gnu.org>2021-11-17 04:26:11 -0500
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-11-21 21:43:39 +0100
commit97a8d0edda15194c47f41ce0027ee404f0f55ef0 (patch)
tree8073e41fe3a31cece50c31b9e2eb00c25eaeeb36 /gnu
parent9092b3865149d8b02551eea90ef1840d651aade2 (diff)
downloadguix-97a8d0edda15194c47f41ce0027ee404f0f55ef0.tar
guix-97a8d0edda15194c47f41ce0027ee404f0f55ef0.tar.gz
gnu: Add devour.
* gnu/packages/wm.scm (devour): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/wm.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 6874b591f2..3bf3c47cff 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2569,6 +2569,37 @@ read and write, and compatible with JSON.")
capabilities. It is heavily inspired by the Calm Window manager(cwm).")
(license license:bsd-2)))
+(define-public devour
+ (package
+ (name "devour")
+ (version "12")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/salman-abedin/devour")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1qq5l6d0fn8azg7sj7a4m2jsmhlpswl5793clcxs1p34vy4wb2lp"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("libx11" ,libx11)))
+ (arguments
+ `(#:tests? #f ;no tests
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)) ;no configure script
+ #:make-flags
+ (list (string-append "CC=" ,(cc-for-target))
+ (string-append "BIN_DIR=" %output "/bin"))))
+ (home-page "https://github.com/salman-abedin/devour")
+ (synopsis "X11 window swallower")
+ (description
+ "@command{devour} hides your current window before launching an external
+program and unhides it after quitting.")
+ (license license:gpl2)))
+
(define-public wlogout
(package
(name "wlogout")