From 98994d0b6529e665863bc9f6125eb3e116e0f9d5 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 28 Mar 2021 11:27:37 -0400 Subject: Add playAudioFromSource hotkey (#1570) --- ext/js/pages/settings/keyboard-shortcuts-controller.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/js/pages/settings') diff --git a/ext/js/pages/settings/keyboard-shortcuts-controller.js b/ext/js/pages/settings/keyboard-shortcuts-controller.js index a63430ee..7dbf5aa2 100644 --- a/ext/js/pages/settings/keyboard-shortcuts-controller.js +++ b/ext/js/pages/settings/keyboard-shortcuts-controller.js @@ -48,6 +48,7 @@ class KeyboardShortcutController { ['addNoteTermKana', {scopes: new Set(['popup', 'search'])}], ['viewNote', {scopes: new Set(['popup', 'search'])}], ['playAudio', {scopes: new Set(['popup', 'search'])}], + ['playAudioFromSource', {scopes: new Set(['popup', 'search']), argument: {template: 'hotkey-argument-audio-source', default: 'jpod101'}}], ['copyHostSelection', {scopes: new Set(['popup'])}], ['scanSelectedText', {scopes: new Set(['web'])}] ]); -- cgit v1.2.3