summaryrefslogtreecommitdiff
path: root/modules/areapicker/Picker.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-09 18:05:23 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-09 18:35:22 +1000
commit717855c62963fcad2f511e180d82add98f4f73e3 (patch)
tree598113a9f7003ff5a0bf78854059f1a31d8feb75 /modules/areapicker/Picker.qml
parentlauncher: allow configuring actions (#558) (diff)
downloadcaelestia-shell-717855c62963fcad2f511e180d82add98f4f73e3.tar.gz
caelestia-shell-717855c62963fcad2f511e180d82add98f4f73e3.tar.bz2
caelestia-shell-717855c62963fcad2f511e180d82add98f4f73e3.zip
internal: use Qt.resolvedUrl
Diffstat (limited to 'modules/areapicker/Picker.qml')
-rw-r--r--modules/areapicker/Picker.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/areapicker/Picker.qml b/modules/areapicker/Picker.qml
index 14b70b7..d51d1f3 100644
--- a/modules/areapicker/Picker.qml
+++ b/modules/areapicker/Picker.qml
@@ -76,7 +76,7 @@ MouseArea {
}
function save(): void {
- const tmpfile = `file:///tmp/caelestia-picker-${Quickshell.processId}-${Date.now()}.png`;
+ const tmpfile = Qt.resolvedUrl(`/tmp/caelestia-picker-${Quickshell.processId}-${Date.now()}.png`);
CUtils.saveItem(screencopy, tmpfile, Qt.rect(Math.ceil(rsx), Math.ceil(rsy), Math.floor(sw), Math.floor(sh)), path => Quickshell.execDetached(["swappy", "-f", path]));
closeAnim.start();
}