From 7632c5fdfb2bced129e46adcfe5329e386eee303 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Mon, 8 Feb 2016 21:24:56 +0100 Subject: adds config file for launchers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ibbedefcdedbfc7f6fe7c89f8e8f32d022a93ca19 Signed-off-by: José Bollo --- conf/CMakeLists.txt | 1 + conf/afm-launch.conf | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 conf/afm-launch.conf (limited to 'conf') 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 + -- cgit 1.2.3-korg