Subject: [PATCH] gnu: Add some gnome extensions

From: Sughosha <[email-masked]>
Date: Fri, 24 Jun 2022 08:39:20 +0000

Empty Message

From 2af37e0bd6803f8be86106d4d795dce92d790e4a Mon Sep 17 00:00:00 2001
From: Sughosha <[email-masked]>
Date: Wed, 22 Jun 2022 08:05:51 +0200
Subject: [PATCH 1/4] gnu: Add gnome-shell-extension-activities-icons

* gnu/packages/gnome-xyz.scm: Add gnome-shell-extension-activities-icons.
---
 gnu/packages/gnome-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 9e5d319291..4f4ac11f41 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -985,6 +985,29 @@ (define-public gnome-shell-extension-blur-my-shell
 GNOME Shell, including the top panel, dash and overview.")
     (license license:gpl3)))
 
+(define-public gnome-shell-extension-activities-icons
+  (let ((revision "12") (commit "651179d1727d5ed80866f2319d5e4793b28631ae"))
+    (package
+      (name "gnome-shell-extension-activities-icons")
+      (version (git-version "0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/fawtytoo/activities-icons")
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "0c77f77knchzdg1mmyn6ahb3lgfd54ym30wnyrh20y4zbwn8ri2w"))))
+      (build-system copy-build-system)
+      (arguments
+       `(#:install-plan `(("."
+                           "/share/gnome-shell/extensions/activities_icons@fawtytoo"))))
+      (home-page "https://github.com/fawtytoo/activities-icons")
+      (synopsis "Activities Icons for GNOME Shell")
+      (description
+       "The Activities button becomes 2 icons for selecting either Applications or Workspaces in the overview. Selecting the same view again will hide the overview. Scrolling on the icons allows switching windows on a workspace or cycling through the Workspaces.")
+      (license license:gpl3))))
+
 (define-public arc-theme
   (package
     (name "arc-theme")
--
2.36.1
From f832d7a58538dec2216345c31eb22aa257f88594 Mon Sep 17 00:00:00 2001
From: Sughosha <[email-masked]>
Date: Wed, 22 Jun 2022 08:07:21 +0200
Subject: [PATCH 2/4] gnu: Add gnome-shell-extension-radio

* gnu/packages/gnome-xyz.scm: Add gnome-shell-extension-radio.
---
 gnu/packages/gnome-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 4f4ac11f41..f91d59dd62 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -1008,6 +1008,36 @@ (define-public gnome-shell-extension-activities-icons
        "The Activities button becomes 2 icons for selecting either Applications or Workspaces in the overview. Selecting the same view again will hide the overview. Scrolling on the icons allows switching windows on a workspace or cycling through the Workspaces.")
       (license license:gpl3))))
 
+(define-public gnome-shell-extension-radio
+  (package
+    (name "gnome-shell-extension-radio")
+    (version "19")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url
+                     "https://github.com/hslbck/gnome-shell-extension-radio")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1qsi6c57hxh4jqdw18knm06601lhag6jdbvzg0r79aa9572zy8a0"))))
+    (build-system copy-build-system)
+    (arguments
+     `(#:install-plan `(("[email-masked]"
+                         "/share/gnome-shell/extensions/"))
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'install 'glib-compile-schemas
+           (lambda _
+             (invoke "glib-compile-schemas" "[email-masked]/schemas"))))))
+    (native-inputs `(("glib:bin" ,glib "bin")))
+    (home-page "https://github.com/hslbck/gnome-shell-extension-radio")
+    (synopsis "Internet radio for GNOME Shell")
+    (description
+     "This extension allows to browse, add and play internet radio streams.")
+    (license license:gpl3+)))
+
 (define-public arc-theme
   (package
     (name "arc-theme")
--
2.36.1
From f6090daf39b938440bc5381bfd53ffc69083f25f Mon Sep 17 00:00:00 2001
From: Sughosha <[email-masked]>
Date: Wed, 22 Jun 2022 08:08:04 +0200
Subject: [PATCH 3/4] gnu: Add gnome-shell-extension-sound-output-device-chooser

* gnu/packages/gnome-xyz.scm: Add gnome-shell-extension-sound-output-device-chooser.
---
 gnu/packages/gnome-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index f91d59dd62..0c256c3187 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -1038,6 +1038,40 @@ (define-public gnome-shell-extension-radio
      "This extension allows to browse, add and play internet radio streams.")
     (license license:gpl3+)))
 
+(define-public gnome-shell-extension-sound-output-device-chooser
+  (package
+    (name "gnome-shell-extension-sound-output-device-chooser")
+    (version "43")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url
+                     "https://github.com/kgshank/gse-sound-output-device-chooser")
+                    (commit version)))
+              (sha256
+               (base32
+                "1qk6ypyqbv8zwwlky6cgk9hgp1zh32jmzw4wza200g4v94ifkwm9"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-hardcoded-path
+           (lambda* (#:key outputs #:allow-other-keys)
+             (substitute* "Makefile"
+               (("INSTALL_DIR=~/.*") (string-append "INSTALL_DIR="
+                                      (assoc-ref outputs "out")
+                                      "/share/gnome-shell/extensions")))))
+         (delete 'configure))))
+    (native-inputs `(("gettext" ,gettext-minimal) ("glib:bin" ,glib "bin")))
+    (inputs (list python))
+    (home-page
+     "https://extensions.gnome.org/extension/906/sound-output-device-chooser")
+    (synopsis "Sound output chooser for GNOME Shell")
+    (description
+     "This extension shows a list of sound output and input devices (similar to gnome sound settings) in the status menu below the volume slider. Various active ports like HDMI , Speakers etc. of the same device are also displayed for selection.")
+    (license license:gpl3)))
+
 (define-public arc-theme
   (package
     (name "arc-theme")
--
2.36.1
From 71a7b816831d2491297a5784612767d557fbd114 Mon Sep 17 00:00:00 2001
From: Sughosha <[email-masked]>
Date: Wed, 22 Jun 2022 08:09:28 +0200
Subject: [PATCH 4/4] gnu: Add gnome-shell-extension-transparent-window

* gnu/packages/gnome-xyz.scm: Add gnome-shell-extension-transparent-window.
---
 gnu/packages/gnome-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 0c256c3187..7bf9d433e9 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -1072,6 +1072,31 @@ (define-public gnome-shell-extension-sound-output-device-chooser
      "This extension shows a list of sound output and input devices (similar to gnome sound settings) in the status menu below the volume slider. Various active ports like HDMI , Speakers etc. of the same device are also displayed for selection.")
     (license license:gpl3)))
 
+(define-public gnome-shell-extension-transparent-window
+  (let ((revision "45") (commit "cc9bc70c192dd565fa6f1d1b28d9a20f99684f2a"))
+    (package
+      (name "gnome-shell-extension-transparent-window")
+      (version (git-version "0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url
+                       "https://github.com/pbxqdown/gnome-shell-extension-transparent-window")
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "1f9iqqjpmmylqz0ws8cy5rs475bwzi7jy44q9ip44ig2acz2wxzp"))))
+      (build-system copy-build-system)
+      (arguments
+       `(#:install-plan `(("."
+                           "/share/gnome-shell/extensions/[email-masked]"))))
+      (home-page
+       "https://github.com/pbxqdown/gnome-shell-extension-transparent-window")
+      (synopsis "Change the opacity of windows in GNOME Shell")
+      (description
+       "The extension will change the opacity of window through simple mouse/keyboard operation.")
+      (license license:expat))))
+
 (define-public arc-theme
   (package
     (name "arc-theme")
--
2.36.1