added windows shortcut for spotlight

This commit is contained in:
Milos Holba
2022-02-01 14:21:12 +01:00
parent 2ca42f530b
commit 45a46bbc65
5 changed files with 34 additions and 8 deletions

View File

@@ -61,7 +61,8 @@ export default {
},
methods: {
spotlightListener(e) {
if (e.key === 'k' && e.metaKey) {
if (e.key === 'k' && e.metaKey || e.key === 'k' && e.ctrlKey) {
e.preventDefault()
events.$emit('spotlight:show');
}
},