summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Henderson <ianhenderson@pm.me>2026-04-09 17:15:38 -0600
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2026-04-19 08:23:33 +0200
commita1bb828da29e3c43b7b5503bac0a14bfa74aa918 (patch)
tree215796a62e9e8eb1b43cd1502e744ac771f514df
parent6a904160176b608dfa4e925bcfbc1094d0ee3b92 (diff)
gnu: Add gnome-shell-extension-caffeine.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-caffeine): New variable. Change-Id: I542a502062c386f8dda434d4135610821cf493ae Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
-rw-r--r--gnu/packages/gnome-xyz.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index d942b724475..b929c074945 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -1335,6 +1335,41 @@ animation of closing windowed applications.")
1335GNOME Shell, including the top panel, dash and overview.") 1335GNOME Shell, including the top panel, dash and overview.")
1336 (license license:gpl3))) 1336 (license license:gpl3)))
1337 1337
1338(define-public gnome-shell-extension-caffeine
1339 (package
1340 (name "gnome-shell-extension-caffeine")
1341 (version "59")
1342 (source
1343 (origin
1344 (method git-fetch)
1345 (uri (git-reference
1346 (url
1347 "https://github.com/eonpatapon/gnome-shell-extension-caffeine")
1348 (commit (string-append "v" version))))
1349 (file-name (git-file-name name version))
1350 (sha256
1351 (base32 "0sv0iqfb6kjhgcg4pb59n91dyf667vax96kfhz5ik5hhx9n0z43w"))))
1352 (build-system copy-build-system)
1353 (arguments
1354 (list
1355 #:install-plan
1356 #~'(("caffeine@patapon.info"
1357 "share/gnome-shell/extensions/caffeine@patapon.info"
1358 #:include-regexp ("icons" "locale" "preferences" "schemas"
1359 "\\.js(on)?$")))
1360 #:phases
1361 #~(modify-phases %standard-phases
1362 (add-before 'install 'compile-schemas
1363 (lambda _
1364 (with-directory-excursion "caffeine@patapon.info/schemas"
1365 (invoke "glib-compile-schemas" ".")))))))
1366 (native-inputs (list `(,glib "bin")))
1367 (synopsis "Disable screensaver and auto suspend in Gnome")
1368 (description "This extension provides a quick setting toggle to enable or
1369disable the Gnome auto-suspend and screensaver.")
1370 (home-page "https://github.com/eonpatapon/gnome-shell-extension-caffeine")
1371 (license license:gpl2+)))
1372
1338(define-public gnome-shell-extension-radio 1373(define-public gnome-shell-extension-radio
1339 (let ((commit "860e55b9e704eb3dde43e6bbeccec5748242498e") 1374 (let ((commit "860e55b9e704eb3dde43e6bbeccec5748242498e")
1340 (revision "0")) 1375 (revision "0"))