add superpaste

This commit is contained in:
end-4
2025-08-31 17:21:55 +02:00
parent f1b1589a7d
commit 53b6f5d8e8
5 changed files with 74 additions and 22 deletions
@@ -53,7 +53,7 @@ Rectangle {
Process {
id: decodeImageProcess
command: ["bash", "-c",
`[ -f ${imageDecodeFilePath} ] || echo '${StringUtils.shellSingleQuoteEscape(root.entry)}' | cliphist decode > '${imageDecodeFilePath}'`
`[ -f ${imageDecodeFilePath} ] || echo '${StringUtils.shellSingleQuoteEscape(root.entry)}' | ${Cliphist.cliphistBinary} decode > '${imageDecodeFilePath}'`
]
onExited: (exitCode, exitStatus) => {
if (exitCode === 0) {