bb13697c01
XDG_CURRENT_DESKTOP can contain a list [1]. Allow users to
set a list such as XDG_CURRENT_DESKTOP=asdf:wlroots. That way, users
can use xdpw in their non-Sway compositor without specifying
XDG_CURRENT_DESKTOP=sway and without having to edit the portal
definition.
[1]:
|
||
---|---|---|
.builds | ||
contrib | ||
include | ||
protocols | ||
src | ||
.editorconfig | ||
.gitignore | ||
CONTRIBUTING.md | ||
LICENSE | ||
meson.build | ||
meson_options.txt | ||
org.freedesktop.impl.portal.desktop.wlr.service.in | ||
README.md | ||
wlr.portal | ||
xdg-desktop-portal-wlr.5.scd |
xdg-desktop-portal-wlr
xdg-desktop-portal backend for wlroots
Building
meson build
ninja -C build
Installing
From Source
ninja -C build install
Distro Packages
Running
Make sure XDG_CURRENT_DESKTOP=sway
is set.
When correctly installed, xdg-desktop-portal should automatically invoke xdg-desktop-portal-wlr when needed.
Configuration
See man 5 xdg-desktop-portal-wlr
.
Manual startup
At the moment, some command line flags are available for testing, compatibility, or output selection. If you need to use one of these flags, you can provide an instance of xdpw using the following command:
/usr/lib/xdg-desktop-portal -r & xdg-desktop-portal-wlr [OPTION...]
To understand the available options, you can run xdg-desktop-portal-wlr --help
FAQ
Check out or FAQ for answers to commonly asked questions.
Please see the screencast compatibility guide for more information on compatible applications and how to get them working.
If you have a question or problem that is not mentioned in those documents, please open an issue or come chat with us in #sway on freenode IRC.
Contributing
If you're interested in testing or development, check out CONTRIBUTING.md for more information.
License
MIT