summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
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
+