diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-09 18:00:03 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-09 18:00:03 +1000 |
| commit | 0d8771cf4d8b451693668988d41eda1813f40d2c (patch) | |
| tree | cb1ced72eb874383dafc723ec1fad0163ab0b433 /modules/dashboard | |
| parent | dashboard/media: fix incubation warning (diff) | |
| download | caelestia-shell-0d8771cf4d8b451693668988d41eda1813f40d2c.tar.gz caelestia-shell-0d8771cf4d8b451693668988d41eda1813f40d2c.tar.bz2 caelestia-shell-0d8771cf4d8b451693668988d41eda1813f40d2c.zip | |
dashboard: fix pfp picker
Fixes #579
Diffstat (limited to 'modules/dashboard')
| -rw-r--r-- | modules/dashboard/Wrapper.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dashboard/Wrapper.qml b/modules/dashboard/Wrapper.qml index eaa3fce..b79c890 100644 --- a/modules/dashboard/Wrapper.qml +++ b/modules/dashboard/Wrapper.qml @@ -22,7 +22,7 @@ Item { filterLabel: qsTr("Image files") filters: Images.validImageExtensions onAccepted: path => { - if (CUtils.copyFile(`file://${path}`, `${Paths.home}/.face`)) + if (CUtils.copyFile(`file://${path}`, Qt.resolvedUrl(`${Paths.home}/.face`))) Quickshell.execDetached(["notify-send", "-a", "caelestia-shell", "-u", "low", "-h", `STRING:image-path:${path}`, "Profile picture changed", `Profile picture changed to ${Paths.shortenHome(path)}`]); else Quickshell.execDetached(["notify-send", "-a", "caelestia-shell", "-u", "critical", "Unable to change profile picture", `Failed to change profile picture to ${Paths.shortenHome(path)}`]); |