1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-04 04:28:30 -04:00

clipboard: implement virtual-keyboard-unstable-v1 to replace wtype for

pasting entries
This commit is contained in:
bbedward
2026-07-04 16:23:50 -04:00
parent 81a4d3b4e0
commit fd99558ce5
24 changed files with 1383 additions and 715 deletions
@@ -145,12 +145,6 @@ Item {
}
}
Process {
id: wtypeProcess
command: ["wtype", "-M", "ctrl", "-P", "v", "-p", "v", "-m", "ctrl"]
running: false
}
Process {
id: copyProcess
running: false
@@ -161,7 +155,7 @@ Item {
id: pasteTimer
interval: 200
repeat: false
onTriggered: wtypeProcess.running = true
onTriggered: ClipboardService.sendPasteKeystroke()
}
function pasteSelected() {
@@ -179,10 +173,6 @@ Item {
}
return;
}
if (!SessionService.wtypeAvailable) {
ToastService.showError(I18n.tr("wtype not available - install wtype for paste support"));
return;
}
const pluginId = selectedItem.pluginId;
if (!pluginId)