-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsiteconfig.json5
236 lines (209 loc) · 10.7 KB
/
siteconfig.json5
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
{
// Unique identifier for the deployment.
site: "default.gpii.net",
// Whether to hide the QSS save button.
// `true` if the button should be hidden and `false` otherwise.
hideQssSaveButton: false,
// Configuration options for the QSS window
qss: {
// Whether a user can open Settings pages and Control Panels of the operating system
// this is used to show different data in the sidecar container
osSettingsAvailable: true,
// Determines if the QSS will be shown automatically on Morphic's startup
showQssOnStart: false,
// Defines the delay in milliseconds before the tooltip is shown after a QSS button is selected
tooltipDisplayDelay: 500, // ms
// The scaling factor for the QSS
scaleFactor: 1.2,
urls: {
account: "http://morphic.world/account",
cloudFolder: "https://sites.google.com/raisingthefloor.org/quickfolders/demo-quickfolder-page",
myGoogleDrive: "https://drive.google.com/",
myOneDrive: "https://onedrive.live.com/about/signin/",
myDropbox: "https://www.dropbox.com/login",
customizeQss: "https://morphic.world/"
},
alwaysUseChrome: false,
// The template that is used for every label of the language setting's options.
// The "%" followed by a word specifies a variable and there are three possible variables:
// - native - the name of the language in its native form
// - local - the name of the language in the currently applied language
// - english - the name of the of the language in English
languageOptionLabel: {
currentLanguageGroup: "%native",
genericLanguage: "%native · %local"
},
// The code of OS default language `gpii-app` (it might be the one with which the system was installed with).
// This language should always stay on top of the "Language" setting's menu list.
// The code must be exactly matching one of the installed languages' code (with respect to the region).
// In case the selected language code is missing, there simply won't be a special first setting.
// NOTE: this is not related to the default language value defined for the language setting
systemDefaultLanguage: "en-US",
messages: {
keyedOut: "To save you must insert a Morphic Key. Please ask for one at the Front Desk. If you have a key inserted and you see this message, remove the key and re-insert it, then you can Save."
},
// The path to the ShareX's executable file, used in the screenCaptureWidget.
// This is the path where ShareX lives after installing Morphic. Can be adjusted for development purposes.
shareXPath: "C:\\Program Files (x86)\\Morphic\\sharex\\sharex-portable\\sharex.exe",
// The path to the DocuMorph's executable file, used in the service buttons.
// This is the path where DocuMorph lives after installing Morphic. Can be adjusted for development purposes.
docuMorphExecutable: "C:\\Program Files (x86)\\Morphic\\documorph\\DocuMorph.Widget.exe",
// The path to the Snipping Tools's executable file, used in the service buttons.
// This uses the internal Windows 10 snipping tool
snippingToolCommand: "start ms-screenclip:",
// Make the QSS dock to the bottom of the screen, so application windows are positioned above it.
appBarQss: true,
// list of the desired list of buttons shown in QSS
// it uses the `id` attribute found in settings.json items
// Custom buttons: Instead of a string with buttonId you add an object with the custom button data like this:
// APP type buttons require absolute path to executable in the buttonData
// WEB type buttons require a real valid url in the buttonData
// KEY type buttons require a key combation with this exact syntax:
// https://github.com/stegru/windows/blob/GPII-4135/gpii/node_modules/gpii-userInput/README.md
// {
// "buttonId": "MakeYourOwn",
// "buttonName": "Launch Notepad", // Free text that will be use as button's label
// "buttonType": "APP", // APP, WEB, or KEY
// "buttonData": "C:\\Windows\\system32\\notepad.exe", // system path, or url, or key combination
// "fullScreen": true, // true, or false
// "popupText": "<p>Launch the Notepad application.</p>", // tooltip text
// "description": "The full description of the button..." // optional description
// }
// Separator buttons: Use any combination of the separators, even one after another:
// - "separator", or "|" // For invisible separator
// - "separator-visible", or "||" // For a gray separator (same size as the invisible one)
// Grid buttons: Same as the separators, but their size is the same as a normal button
// - "grid", or "-" // For invisible grid space
// - "grid-visible", or "x" // For visible gray grid space (same size as the invisible one)
buttonList: [
{
"buttonId": "MakeYourOwn",
"buttonName": "Task Manager",
"buttonType": "KEY",
"buttonData": "^+{Escape}",
"popupText": "<p>Executes Ctrl+Shift+Esc combination, which opens Windows Task Manager.</p>"
},
"||",
"language",
"screen-zoom",
"text-zoom",
"high-contrast",
"snipping-tool",
"color-vision",
"read-aloud",
"volume",
"launch-documorph",
"cloud-folder-open",
"usb-open",
"||",
"service-more",
"service-save",
"service-undo",
"service-saved-settings",
"service-reset-all",
"service-close"
],
morePanelList: [
[ // first row of buttons
],
[ // second row of buttons
{
"buttonId": "MakeYourOwn",
"buttonName": "Launch Notepad",
"buttonType": "APP",
"buttonData": "C:\\Windows\\system32\\notepad.exe",
"fullScreen": true,
"popupText": "<p>Launch the Notepad application.</p>",
"description": "The full description of the button..."
}, {
"buttonId": "MakeYourOwn",
"buttonName": "Open Reddit",
"buttonType": "WEB",
"buttonData": "www.reddit.com",
"fullScreen": true,
"popupText": "<p>Open Reddit in a web browser.</p>",
"description": "The full description of the button..."
},
"screen-capture",
"url-customize-qss",
"url-google-drive",
"url-one-drive",
"url-dropbox",
"translate-tools",
"office-simplification",
"mouse"
],
[ // third row of buttons
]
]
},
// Whether to hide the QSS when a user clicks outside of it
closeQssOnClickOutside: false,
// Whether to disable the displaying of notifications that suggest some
// applications may need to be restarted in order for a changed setting to be
// fully applied. An example for such setting is `Language`.
// If set to `true`, such notifications will NOT be displayed.
disableRestartWarning: true,
// The shortcut that open the QSS. For posible values refer to: https://electronjs.org/docs/api/accelerator
openQssShortcut: "Shift+Ctrl+AltOrOption+SuperOrCmd+M",
// Configuration options for the About dialog
aboutDialog: {
urls: {
morphicHome: "https://morphic.world",
submitSuggestions: "mailto:[email protected]"
}
},
promotionWindow: {
// IMPORTANT: in order to show the promotion window set `showPromotionWindow` to true
// and add url to `promoContentUrl`
showPromotionWindow: false,
// URL from where the content to be downloaded
// if the url points to image file (png/jpg/svg) then will add the image inside the window
// if its just a web page then will load the content inside
promoContentUrl: false,
// Size of the promo window that will be displayed (this will scape with the screen zoom DPI)
width: 400,
height: 400,
// Show window in the center of the screen
centered: false,
// Whether window is resizable
resizable: false,
// Whether window is movable
movable: false,
// Whether to show the window in taskbar
skipTaskbar: true,
// Whether to to create a Frameless Window
frame: false,
// Makes the window transparent. Not works if resizable is set to true
transparent: false,
// Whether the window should always stay on top of other windows
alwaysOnTop: false,
// Defines the close delay of the window in milliseconds. 0 will not close the window
closeDelay: 0,
// Defines the show delay of the window in milliseconds. Use 0 for no show delay
showDelay: 0,
// You can pick whatever X and Y coordinates you want the promo window to appear
// important notice, X: 0 and Y: 0 point to the bottom-right part of the screen
// in order this option to work you need to have `centered` and `positionByTrayIcon` set to false
offset: {
x: 0,
y: 0
},
// this option will position the promo window just above the tray icon
// if its set to true will overwrite the manual `offset` and `centered` options
positionByTrayIcon: true,
showCloseButton: false
},
// URL to the the place serving the survey triggers data. Note that it should return triggers in JSON format
surveyTriggersUrl: "http://survey.gpii.net/survey-triggers.json",
// The type of widget to use in the task bar - "gpii.app.trayButton", "gpii.app.trayIcon", or both.
trayType: ["gpii.app.trayButton"],
// URL to the reset to standard profile. If no provided, the system will use a fallback one
resetToStandardProfileUrl: "https://raw.githubusercontent.com/GPII/universal/master/testData/defaultSettings/defaultSettings.win32.json5",
autoLogin: {
blockedUsers: ["admin*", "guest*", "student*", "visitor*", "volunteer*"],
userIdSource: "username"
},
// Metrics switch (read by the service): "<morphic>:<metrics>"
metricsSwitch: "on:on" // (eg, "on:on"=both on (default), "off:on"=metrics only)
}