mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-04-21 13:14:04 +02:00
feat: custom hotkey with global shortcut
This commit is contained in:
parent
02becca60d
commit
ba743f7961
7 changed files with 774 additions and 297 deletions
2
app.vue
2
app.vue
|
@ -11,12 +11,14 @@ import { onMounted } from 'vue'
|
|||
|
||||
onMounted(async () => {
|
||||
await listen('change_keybind', async () => {
|
||||
console.log("change_keybind");
|
||||
await navigateTo('/keybind')
|
||||
await app.show();
|
||||
await window.getCurrentWindow().show();
|
||||
})
|
||||
|
||||
await listen('main_route', async () => {
|
||||
console.log("main_route");
|
||||
await navigateTo('/')
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue