diff --git a/src/svelte/Options.svelte b/src/svelte/Options.svelte index aa61a51..1001e81 100644 --- a/src/svelte/Options.svelte +++ b/src/svelte/Options.svelte @@ -6,6 +6,7 @@ mdiPencil, mdiKeyboard, mdiTextToSpeech, + mdiContactMail, mdiThumbUp } from "@mdi/js"; import Card, { Content } from "@smui/card"; @@ -45,7 +46,7 @@ icon: mdiMicrophone, title: '"Hey buddy" hotword detection', caption: - 'We will listen to "Hey buddy" hotword command in the background. Click here to disable hotword detection.', + 'We will listen to "Hey Buddy" hotword command in the background. Click here to disable hotword detection.', errorCaption: "Hotword detection is disabled. Click here to enable hotword detection", onClick: enabled => { @@ -55,11 +56,13 @@ let tts = { icon: mdiTextToSpeech, - title: 'Voice response on search result', + title: "Voice response on search result", caption: - 'Auto play voice response on Google search result page if available.', + "Auto play voice response on Google search result page if available. Note that to avoid the sound from the voice " + + 'response from feeding back into the microphone, "Hey Buddy" will stop listening after performing a search result. ' + + 'You can trigger it again by saying the "Hey Buddy" hotword or click on the "Hey Buddy" icon in browser extension area.', errorCaption: - "Voice response is disabled. Click here to enable voice response on Google search result.", + "Voice response is disabled. Click here to enable automatically reading the voice response on Google search result.", onClick: enabled => { storage.set({ tts: enabled }); } @@ -114,7 +117,9 @@ }); voiceOption.enabled = true; storage.set({ hotword: true }, () => { - chrome.tabs.update({ url: 'https://bewisse.com/heybuddy/thankyou/' }); + chrome.tabs.update({ + url: "https://bewisse.com/heybuddy/thankyou/" + }); }); clearInterval(intervalHandle); } catch (ignored) {} @@ -168,13 +173,17 @@ + @@ -199,7 +208,9 @@ {:else} - Great! You are all set! Just say "Hey Buddy" to start! + + Great! You are all set! Just say "Hey Buddy" to start! + diff --git a/theme/_smui-theme.scss b/theme/_smui-theme.scss index e69de29..1d94f3b 100644 --- a/theme/_smui-theme.scss +++ b/theme/_smui-theme.scss @@ -0,0 +1 @@ +$mdc-theme-primary: #1976d2; \ No newline at end of file