Add Push To Talk binds

This commit is contained in:
Vendicated
2026-05-10 15:07:46 +02:00
parent 02f1e71e58
commit 797c02bdd0
3 changed files with 75 additions and 40 deletions
+1 -7
View File
@@ -6,7 +6,6 @@
import { app } from "electron";
import { basename } from "path";
import { ShortcutAction } from "renderer/globalShortcuts/ShortcutSettings";
import { stripIndent } from "shared/utils/text";
import { parseArgs, ParseArgsOptionDescriptor } from "util";
@@ -48,12 +47,7 @@ const options = {
type: "string",
description:
"Run a predefined shortcut action (for custom key binds). Vesktop has to be open for this to have any effect",
options: [
"toggleMute",
"toggleDeafen",
"toggleStreamerMode",
"disconnectFromVoiceChannel"
] satisfies Array<ShortcutAction>
argumentName: "action"
}
} satisfies Record<string, Option>;