diff --git a/Helpers/Picker.qml b/Helpers/Picker.qml index 713d0f2..721f074 100644 --- a/Helpers/Picker.qml +++ b/Helpers/Picker.qml @@ -66,7 +66,7 @@ MouseArea { function save(): void { const tmpfile = Qt.resolvedUrl(`/tmp/zshell-picker-${Quickshell.processId}-${Date.now()}.png`); - ZShellIo.saveItem(screencopy, tmpfile, Qt.rect(Math.ceil(rsx), Math.ceil(rsy), Math.floor(sw), Math.floor(sh)), path => Quickshell.execDetached(["swappy", "-f", path])); + ZShellIo.saveItem(screencopy, tmpfile, Qt.rect(Math.ceil(rsx), Math.ceil(rsy), Math.floor(sw), Math.floor(sh)), path => Quickshell.execDetached([Quickshell.shellDir + "/scripts/rs-pictures", path])); closeAnim.start(); } diff --git a/scripts/rs-pictures b/scripts/rs-pictures new file mode 100755 index 0000000..e6efee3 Binary files /dev/null and b/scripts/rs-pictures differ