aboutsummaryrefslogtreecommitdiffstats
path: root/conf/afm-launch.conf
blob: 92ede4ddf56487c806116eb8c4de00aa0e6b5573 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# %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
# %% %

mode local

text/html
	/usr/bin/afb-daemon --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
	/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

mode remote

text/html
	/usr/bin/afb-daemon --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
	http://%%h:%P/%c?token=%S