Launcher: wip image preview
This commit is contained in:
parent
7548ffc191
commit
ded133d164
5 changed files with 159 additions and 16 deletions
|
|
@ -284,6 +284,11 @@ Singleton {
|
|||
}
|
||||
}
|
||||
|
||||
function getImageData(id) {
|
||||
return root.imageDataById[id]
|
||||
}
|
||||
|
||||
|
||||
function _startNextB64() {
|
||||
if (root._b64Queue.length === 0 || !root.cliphistAvailable)
|
||||
return
|
||||
|
|
@ -316,7 +321,11 @@ Singleton {
|
|||
if (!root.cliphistAvailable) {
|
||||
return
|
||||
}
|
||||
|
||||
Quickshell.execDetached(["cliphist", "wipe"])
|
||||
|
||||
revision++
|
||||
|
||||
Qt.callLater(() => list())
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue