An alternative to xdg-desktop-portal-wlr for wlroots compositors. This project is a stand alone binary and does not depend on grim.
libwayshot
is used as the screencopy backend to enable screenshots.
- org.freedesktop.impl.portal.RemoteDesktop
- org.freedesktop.impl.portal.ScreenCast
- org.freedesktop.impl.portal.ScreenShot
- org.freedesktop.impl.portal.Settings
Luminous is configured through the following auto hot-reloaded file: ~/.config/xdg-desktop-portal-luminous/config.toml
.
color_scheme = "dark" # can also be "light"
accent_color = "#880022"
The following file needs to be created ~/.config/xdg-desktop-portal/CURRENT_DESKTOP_NAME-portals.conf
.
(eg: For the sway
desktop, sway-portals.conf
must exist.)
Eg:
[preferred]
default=luminous
org.freedesktop.impl.portal.Settings=luminous;gtk
- Do not rely on slurp binary. We feel calling binaries is a hack to achieve some end goal, it is almost always better to programmatically invoke the given API.
meson build
ninja -C build install
Build time requirements are marked with *
.
- cargo *
- libclang *
- meson *
- ninja *
- pipewire *
- pkg-config *
- rustc *
- xkbcommon *
- slurp
- wayland
- wayland-protocols *