unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#74024] [PATCH] gnu: Add gnome-shell-extension-quick-close-in-overview
@ 2024-10-25 20:58 Qwel via Guix-patches via
  2024-10-27 11:08 ` Liliana Marie Prikler
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Qwel via Guix-patches via @ 2024-10-25 20:58 UTC (permalink / raw)
  To: 74024; +Cc: Qwel, Liliana Marie Prikler, Maxim Cournoyer, Vivien Kraus

---
 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@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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-11-30 20:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-25 20:58 [bug#74024] [PATCH] gnu: Add gnome-shell-extension-quick-close-in-overview Qwel via Guix-patches via
2024-10-27 11:08 ` Liliana Marie Prikler
2024-11-05 13:36 ` [bug#74024] [PATCH v3dee2d6] " Qwel via Guix-patches via
2024-11-30 20:05 ` [bug#74024] [PATCH] " Qwel via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).