guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: gnu: gnome-xyz: Add gnome-shell-extension-burn-my-windows.


From: guix-commits
Subject: 03/04: gnu: gnome-xyz: Add gnome-shell-extension-burn-my-windows.
Date: Wed, 12 Jan 2022 06:52:45 -0500 (EST)

mothacehe pushed a commit to branch master
in repository guix.

commit 6af7e5da8b803af9c65e726d65b3195929fc51c9
Author: Charles <charles.b.jackson@protonmail.com>
AuthorDate: Tue Jan 11 15:26:38 2022 -0600

    gnu: gnome-xyz: Add gnome-shell-extension-burn-my-windows.
    
    * gnu/packages/gnome-xyz.scm (gnome-shell-extension-burn-my-windows): New 
Variable.
    
    Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 gnu/packages/gnome-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 64f1f6e436..07ba71f4f4 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -824,6 +824,45 @@ style.")
 position when the mouse is moved rapidly.")
     (license license:gpl2)))
 
+(define-public gnome-shell-extension-burn-my-windows
+  (package
+    (name "gnome-shell-extension-burn-my-windows")
+    (version "7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Schneegans/Burn-My-Windows/";)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "1513kh6dfvnaj5jq2mm7rv1k54v91hjckgim1dpqlxwnv4gi9krd"))
+       (file-name (git-file-name name version))))
+    (build-system copy-build-system)
+    (arguments
+     `(#:install-plan
+       '(("." ,(string-append
+                "share/gnome-shell/extensions/"
+                "burn-my-windows@schneegans.github.com")
+          #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$"
+                            "\\.xml$" "\\.compiled$" "\\.gresource$")))
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'install 'compile-resources
+           (lambda _
+             (invoke "make" "resources/burn-my-windows.gresource")))
+         (add-before 'install 'compile-schemas
+           (lambda _
+             (with-directory-excursion "schemas"
+               (invoke "glib-compile-schemas" ".")))))))
+    (native-inputs
+     (list `(,glib "bin")))  ; for glib-compile-resources
+    (home-page "https://github.com/Schneegans/Burn-My-Windows";)
+    (synopsis "Application closing effects extension")
+    (description "Burn My Windows is a shell extension that stylizes the
+animation of closing windowed applications.")
+    (license license:gpl3)))
+
 (define-public arc-theme
   (package
     (name "arc-theme")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]