GNU bug report logs - #74024
[PATCH] gnu: Add gnome-shell-extension-quick-close-in-overview

Previous Next

Package: guix-patches;

Reported by: Qwel <qwel <at> e.email>

Date: Sat, 26 Oct 2024 05:29:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Qwel <qwel <at> e.email>
To: 74024 <at> debbugs.gnu.org
Cc: Qwel <qwel <at> e.email>, Liliana Marie Prikler <liliana.prikler <at> gmail.com>, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, Vivien Kraus <vivien <at> planete-kraus.eu>
Subject: [bug#74024] [PATCH] gnu: Add gnome-shell-extension-quick-close-in-overview
Date: Fri, 25 Oct 2024 22:58:39 +0200
---
 gnu/packages/gnome-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index a09c0befb0..63eaa85ff9 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -1277,6 +1277,41 @@ (define-public gnome-shell-extension-vitals
 bar of the GNOME Shell.")
     (license license:gpl2+)))
 
+(define-public gnome-shell-extension-quick-close-in-overview
+  (package
+    (name "gnome-shell-extension-quick-close-in-overview")
+    (version "1.9.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/p91paul/middleclickclose")
+             (commit (string-append "v" version))))
+       (sha256
+        (base32 "11jsagvcmpnakp1s4hh84anl23hprmkwlyb9ykbpqc64glpwp7ff"))
+       (file-name (git-file-name name version))))
+    (build-system copy-build-system)
+    (arguments
+     (list
+      #:install-plan
+      #~'(("." "share/gnome-shell/extensions/"
+           #:include-regexp ("\\.compiled$" "\\.js(on)?$" "\\.mo$")))
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'install 'compile-schemas
+            (lambda _
+              (with-directory-excursion
+               "middleclickclose <at> paolo.tranquilli.gmail.com/schemas"
+               (invoke "glib-compile-schemas" ".")))))))
+    (native-inputs (list `(,glib "bin")))
+    (synopsis
+     "Gnome shell extension for closing apps in overview with a middle click")
+    (description
+     "Close windows with a button click (the middle one by default) when in
+ overview mode.")
+    (home-page "https://github.com/p91paul/middleclickclose")
+    (license license:gpl2)))
+
 (define-public arc-theme
   (package
     (name "arc-theme")

base-commit: 2394a7f5fbf60dd6adc0a870366adb57166b6d8b
-- 
2.46.0





This bug report was last modified 261 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.