makepad/apps/wm/resources/portal/portals.conf
Admin d3ca8bb506 wm and hosted apps: the desktop portal, clipboard, file picker and paced children
A hosted child is ticked at its owner's frames, one child frame per frame
shown; hosted apps launch with `cargo run` from a checkout, open at the size
they ask for, open more windows of their own, resize live and die with the
WM. The WM is the desktop's portal backend (file chooser, light/dark), with
a makepad-drawn file and folder picker; the Wayland clipboard and primary
selection meet the makepad clipboard. The AI hub is the WM's own child and
its panel shows running models. A covered window gets no frames; tiling and
the warp shelves exclude each other; phone WM Settings fixes; dock order
places a foreign app next to ours.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-14 07:24:22 +02:00

9 lines
501 B
Text

# The makepad WM's portal backend (apps/wm/src/portal.rs) answers Settings (dark mode) and
# FileChooser (browsers' open/save dialogs show the WM's picker);
# everything else keeps the gtk backend. Install as ~/.config/xdg-desktop-portal/portals.conf
# and as ~/.config/xdg-desktop-portal/<XDG_CURRENT_DESKTOP>-portals.conf (a desktop-specific
# file is read before the generic one).
[preferred]
default=gtk
org.freedesktop.impl.portal.Settings=makepad
org.freedesktop.impl.portal.FileChooser=makepad