Message ID | fce13b0827d6476cd541d237846b8b256993e361.1729889919.git.qwel@e.email |
---|---|
State | New |
Headers | show |
Series | [bug#74024] gnu: Add gnome-shell-extension-quick-close-in-overview | expand |
Am Freitag, dem 25.10.2024 um 22:58 +0200 schrieb Qwel: > --- Missing ChangeLog. > 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.") The synopsis should be shorter, the description could be a bit longer and better structured. > + (home-page "https://github.com/p91paul/middleclickclose") > + (license license:gpl2))) Should be gpl2+. Cheers
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")