summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-02-08 21:24:56 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2016-02-08 21:38:37 +0100
commit7632c5fdfb2bced129e46adcfe5329e386eee303 (patch)
tree64433f675ebed2df1b568ea4fb4ecdfc7c6d1281 /conf
parent792017f816d7c4eb24277bee14605c49164af5b3 (diff)
adds config file for launchers
Change-Id: Ibbedefcdedbfc7f6fe7c89f8e8f32d022a93ca19 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf')
-rw-r--r--conf/CMakeLists.txt1
-rw-r--r--conf/afm-launch.conf26
2 files changed, 27 insertions, 0 deletions
diff --git a/conf/CMakeLists.txt b/conf/CMakeLists.txt
index 312b764..62bdf0f 100644
--- a/conf/CMakeLists.txt
+++ b/conf/CMakeLists.txt
@@ -27,4 +27,5 @@ install(FILES afm-system-daemon.conf DESTINATION ${SYSCONFDIR_DBUS_SYSTEM})
install(FILES afm-system-daemon.service DESTINATION ${UNITDIR_SYSTEM})
install(FILES afm-user-daemon.conf DESTINATION ${SYSCONFDIR_DBUS_USER})
install(FILES afm-user-daemon.service DESTINATION ${UNITDIR_USER})
+install(FILES afm-launch.conf DESTINATION ${afm_confdir})
diff --git a/conf/afm-launch.conf b/conf/afm-launch.conf
new file mode 100644
index 0000000..771569b
--- /dev/null
+++ b/conf/afm-launch.conf
@@ -0,0 +1,26 @@
+# %I icondir
+# %P port
+# %S secret
+# %D datadir
+# %r rootdir
+# %h homedir
+# %t tag (smack label)
+# %a appid
+# %c content
+# %m mime-type
+# %n name
+# %p plugins
+# %W width
+# %H height
+# %% %
+
+text/html
+ /usr/bin/afb-daemon --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D
+ /usr/bin/web-runtime http://localhost:%P/%c?token=%S
+
+application/x-executable
+ %r/%c
+
+text/vnd.qt.qml
+ /usr/bin/qt5/qmlscene -fullscreen -I %r -I %r/imports %r/%c
+