Add custom commands
aekanshd opened this issue · comments
Hmm, you mean customize the commands for existing actions? There's certainly a lot of functionality that could be added, including being able to create your own actions.
And I see - is that preventing you from opening Omni?
Yup, I added a new line:
...
{title:"Open Google Calendar", desc:"View your events on Google Calendar", type:"action", action:"url", url:"https://calendar.google.com/", emoji:false, favIconUrl:chrome.runtime.getURL("assets/logo-calendar.png"), keycheck:false},
...
But somehow the extension crashes after the first use and the page gets killed.
I pasted your line in the array and it didn't work, but when I copy pasted an existing action and modified it myself it worked fine. Apparently there's some sort of invalid character in your code, but I could not find any?
Should be working fine, try writing it again from zero / copying an existing action and modifying the parameters.