forked from Blendman974/faceclaw
Add support for g2mirror lanuch presets to Terminal app
This commit is contained in:
1 parent
1573dfcadd
commit
93d98965de
4 files changed
+161
-3
No files matched your search
@@ -427,6 +427,17 @@ export const terminalAuthTokenSetting = new ConfigSettingString({
|
||||
description: "Shared secret that must match the g2mirror server's configured auth token.",
|
||||
});
|
||||
|
||||
export const terminalLaunchPresetsSetting = new ConfigSettingString({
|
||||
id: "terminal-launch-presets",
|
||||
label: "Launch presets",
|
||||
storageKey: "terminal.launchPresets",
|
||||
defaultValue: "shell",
|
||||
editorTitle: "g2mirror launch presets (comma-separated)",
|
||||
glassesEditTitle: "Edit launch presets",
|
||||
description:
|
||||
"Comma-separated names of g2mirror launch presets that can be started from the glasses. Presets are defined in the server's config; the wire protocol has no way to list them, so name them here. The default server config defines \"shell\".",
|
||||
});
|
||||
|
||||
export const nightscoutSiteUrlSetting = new ConfigSettingString({
|
||||
id: "nightscout-site-url",
|
||||
label: "Nightscout site URL",
|
||||
|
||||
@@ -18,6 +18,7 @@ import {
|
||||
suspendEvenHubWhenScreenOffSetting,
|
||||
terminalAuthTokenSetting,
|
||||
terminalHostSetting,
|
||||
terminalLaunchPresetsSetting,
|
||||
terminalPortSetting,
|
||||
textSettingMenuItem,
|
||||
timeFormatSetting,
|
||||
@@ -81,6 +82,7 @@ function settingsSections(): SettingsSection[] {
|
||||
textSettingMenuItem(terminalHostSetting),
|
||||
textSettingMenuItem(terminalPortSetting),
|
||||
textSettingMenuItem(terminalAuthTokenSetting),
|
||||
textSettingMenuItem(terminalLaunchPresetsSetting),
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user