diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-09 18:05:23 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-09 18:35:22 +1000 |
| commit | 717855c62963fcad2f511e180d82add98f4f73e3 (patch) | |
| tree | 598113a9f7003ff5a0bf78854059f1a31d8feb75 /modules/areapicker | |
| parent | launcher: allow configuring actions (#558) (diff) | |
| download | caelestia-shell-717855c62963fcad2f511e180d82add98f4f73e3.tar.gz caelestia-shell-717855c62963fcad2f511e180d82add98f4f73e3.tar.bz2 caelestia-shell-717855c62963fcad2f511e180d82add98f4f73e3.zip | |
internal: use Qt.resolvedUrl
Diffstat (limited to 'modules/areapicker')
| -rw-r--r-- | modules/areapicker/Picker.qml | 2 |
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(); } |