gnu: xdg-desktop-portal-wlr: Fix screencast.

Logic for handling output and window selection moved into a separate file
which needs to have its hardcoded paths correct.

* gnu/packages/freedesktop.scm (xdg-desktop-portal-wlr): Fix screencast.

Change-Id: Idad5bc7fa75b926cf48dfa6cb8dc95cf92e5bd5a
Signed-off-by: Noé Lopez <noelopez@free.fr>
This commit is contained in:
Juliana Sims
2026-04-27 15:40:22 -04:00
committed by Noé Lopez
parent da514e3e8f
commit 4fd78658a7

View File

@@ -3440,7 +3440,8 @@ interfaces.")
(let ((sh (search-input-file inputs "/bin/sh"))
(grim (search-input-file inputs "/bin/grim"))
(slurp (search-input-file inputs "/bin/slurp")))
(substitute* "src/screenshot/screenshot.c"
(substitute* '("src/screencast/chooser.c"
"src/screenshot/screenshot.c")
(("grim") grim)
(("slurp") slurp)
(("execl\\(\"/bin/sh\", \"/bin/sh\"")