forked from GPII/gpii-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
siteconfig.json5
180 lines (157 loc) · 8.16 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
{
// 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://drive.google.com/drive/folders/11m-AKdP-0wjEBocpVtvnK8iE23P7hFTS",
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:",
// 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>"
}, {
"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..."
},
"language",
"translate-tools",
"screen-zoom",
"text-zoom",
"screen-capture",
"snipping-tool",
"office-simplification",
"high-contrast",
"mouse",
"read-aloud",
"volume",
"launch-documorph",
"cloud-folder-open",
"usb-open",
"url-google-drive",
"url-one-drive",
"url-dropbox",
"url-customize-qss",
"service-more",
"service-save",
"service-undo",
"service-saved-settings",
"service-reset-all",
"service-close"
]
},
// Whether to hide the QSS when a user clicks outside of it
closeQssOnClickOutside: true,
// 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 QSS More panel
qssMorePanel: {
// These are default values. The actual dimensions of the QSS more panel
// are qssScaleFactor * defaultWidth and qssScaleFactor * defaultHeight.
defaultWidth: 600,
defaultHeight: 450,
movable: true,
resizable: true,
alwaysOnTop: true,
urls: {
moreInfo: "http://morphic.world/more"
}
},
// Configuration options for the About dialog
aboutDialog: {
urls: {
morphicHome: "https://morphic.world",
submitSuggestions: "mailto:[email protected]"
}
},
// 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"]
}