X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=README;h=f7146a95a1ddc8476c724180041040d1a20de880;hb=875547362223909f750d4ab2f536735e5b344fc8;hp=51cc0c88c96e77144e226fa53b6540e91c559ffb;hpb=6429a02868e047992e435d81873c833d6ac91265;p=staging%2Fwindowmanager.git diff --git a/README b/README index 51cc0c8..f7146a9 100644 --- a/README +++ b/README @@ -56,16 +56,19 @@ Running Prerequisites: a compositor implementing the ivi_controller interface must be running and XDG_RUNTIME_DIR must be set so the wayland socket can be found. +The configuration for the window manager (the layers.json file, as specified +int the next section) needs to be available. The environment variable +LAYERS_JSON=/path/to/layers.json needs to be set. + To run from the build directory use: -afb-daemon --ldpaths=$PWD/src +env LAYERS_JSON=/path/to/layers.json afb-daemon --ldpaths=/path/to/winman-binding/ JSON Configurations ---------- ----- -- - - -ids.json: This file configures a mapping of surface id to some layer id. Also - In this configuration are information on the actual drawing rectangles - that applications need to use on a particular layer. -layout.json: A layout spcification. It is as of yet mostly unused and if not - parsed correctly should not interfere with window manager operation. +layers.json: Layers and layout description. In order for the window manager to + work, this file needs to be available and passed to the window manager + using the environment variable LAYERS_JSON. An *example* layers.json is + provided.