From 32ff695d9e2993fcc904a58b3f5486b2285e8825 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 22 Jul 2025 16:29:38 +1000 Subject: filedialog: better icon filtering Only thumbnail valid image types Also move wallpaper extensions into separate singleton in utils --- modules/dashboard/Wrapper.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/dashboard/Wrapper.qml') diff --git a/modules/dashboard/Wrapper.qml b/modules/dashboard/Wrapper.qml index d3630a6..0336d59 100644 --- a/modules/dashboard/Wrapper.qml +++ b/modules/dashboard/Wrapper.qml @@ -17,7 +17,7 @@ Item { readonly property FileDialog facePicker: FileDialog { title: qsTr("Select a profile picture") filterLabel: qsTr("Image files") - filters: Wallpapers.extensions + filters: Images.validImageExtensions onAccepted: path => { Paths.copy(path, `${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)}`]); -- cgit v1.2.3-freya