Skip to content

xdg-portal

Version 2026.144.1443
Repo superproject

XDG desktop portal (wlroots backend) for screencast/screenshot on sway Installs xdg-desktop-portal with the wlroots + GTK backends and slurp (region selector), plus the sway config.d and portal config that wire screencasting through PipeWire on a sway session. Verifiable: the portal packages and slurp are installed and the portal/sway config files land at their expected paths.

This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.

Intent Step
run mkdir=${HOME}/.config/sway/config.d
run copy=portal.conf
run mkdir=${HOME}/.config/xdg-desktop-portal-wlr
run copy=xdg-desktop-portal-wlr-config
check the xdg-desktop-portal package is installed
check the wlroots portal backend package is installed
check the slurp region selector binary is installed
check the wlroots portal config file is installed in the user config
check file=${HOME}/.config/sway/config.d/portal.conf