forked from Shinonome/dots-hyprland
cliphist image: cleanup decoded img on destruction
This commit is contained in:
@@ -69,6 +69,10 @@ Rectangle {
|
||||
}
|
||||
}
|
||||
|
||||
Component.onDestruction: {
|
||||
Hyprland.dispatch(`exec bash -c "[ -f '${imageDecodeFilePath}' ] && rm -f '${imageDecodeFilePath}'"`)
|
||||
}
|
||||
|
||||
Image {
|
||||
id: image
|
||||
anchors.fill: parent
|
||||
|
||||
Reference in New Issue
Block a user