-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathview.json
94 lines (94 loc) · 3.71 KB
/
view.json
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"version": "6",
"applications": {
"U_syncthing": {
"path": "/mnt/ext1/applications/syncthing.app",
"title": "Syncthing",
"icon": "/mnt/ext1/applications/icons/syncthing_app.bmp",
"focused_icon": "/mnt/ext1/applications/icons/syncthing_app_f.bmp"
},
"_comment": [
"Fields - application key id, must start from \"U_\" for user application\n",
"Support application subfields:\n",
"> \"path\" - path to application (Required for user apps. Support apps only from userspace)\n",
"> \"param\" - \"string\" or \"array of string\" of params for application (Optional, can set only for user apps)\n",
"> \"title\" - user friendly application title (Required for user apps)\n",
"> \"icon\" - icon name in theme or object path (Optional)\n",
"> \"focused icon\" - name of icon with focus in theme or object path (Optional)\n",
"> \"visible\" - show application in application list (Optional) (\"1\" as default) (user can change only on \"0\" for PB-applications)\n",
"Support fields values type:\n",
"> \"string value\" - end value\n",
"> \"object path\" - end value { \"path\": \"<path on user space>\" }\n",
"Examples:\n",
"1) \"U_MyApp\": {\n",
" \"path\": \"applications/my_app.app\", \n",
" \"param\": [\"-a\", \"25\"],\n",
" \"title\": \"My application\",\n",
" \"icon\": { \"path\": \"applications/icons/my_app_icon.bmp\" },\n",
" \"focused_icon\": \"desktop_app_calc_f.bmp\"\n",
" }\n",
"2) \"PB_Calc\": {\n",
" \"title\": \"User calculator\",\n",
" \"icon\": { \"path\": \"applications/icons/my_calc_icon.bmp\" },\n",
" \"focused_icon\": { \"path\": \"applications/icons/my_calc_icon_f.bmp\" }\n",
" }\n",
"end."
]
},
"view": {
"_comment": [
"\"groups\" - array of application groups\n",
"Element of groups array support:\n",
"> \"title\" - title of group (Required)\n",
"> \"apps\" - array of applications (Optional)\n",
"> \"sort\" - applications sort type (\"title\", \"fixed\" or special property of applications) (Optional, \"title\" by default)\n",
"end."
],
"groups": [
{
"title": "@General",
"sort": "title",
"apps": [
"PB_AudioBooks",
"PB_Browser",
"PB_Bookstore",
"PB_Empik",
"PB_Calendar",
"PB_Calc",
"PB_Dictionary",
"PB_Digital_Frame",
"PB_Gallery",
"PB_Library",
"PB_Notes",
"PB_Onleihe",
"PB_Player",
"PB_RSSNews",
"PB_Settings"
]
},
{
"title": "@Services",
"sort": "title",
"apps": [
"PB_Dropbox",
"PB_Cloud",
"PB_SendToPB",
"PB_Bookstore2empikgo",
"U_syncthing"
]
},
{
"title": "@Games",
"sort": "title",
"apps": [
"PB_Chess",
"PB_Painter",
"PB_Klondike",
"PB_Scribble",
"PB_Sudoku",
"PB_Snake"
]
}
]
}
}