Add support for opening the inbox via a shortcut - fixes #1134.
This commit is contained in:
parent
d294cc96a5
commit
66b19d5cf7
2 changed files with 15 additions and 0 deletions
|
@ -339,5 +339,10 @@
|
|||
}
|
||||
});
|
||||
|
||||
chrome.commands.onCommand.addListener(function(command) {
|
||||
if (command === 'show_signal') {
|
||||
openInbox();
|
||||
}
|
||||
});
|
||||
|
||||
})();
|
||||
|
|
|
@ -30,5 +30,15 @@
|
|||
"background": {
|
||||
"page": "background.html"
|
||||
}
|
||||
},
|
||||
|
||||
"commands": {
|
||||
"show_signal": {
|
||||
"suggested_key": {
|
||||
"default": "Alt+S"
|
||||
},
|
||||
"description": "Show the Signal inbox."
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue