summaryrefslogtreecommitdiff
path: root/modules/dashboard
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-22 16:29:38 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-22 16:29:38 +1000
commit32ff695d9e2993fcc904a58b3f5486b2285e8825 (patch)
treec4e547a8f9f48e5c80a8dee6020a93a8d657b563 /modules/dashboard
parentfiledialog: add scrollbar (diff)
downloadcaelestia-shell-32ff695d9e2993fcc904a58b3f5486b2285e8825.tar.gz
caelestia-shell-32ff695d9e2993fcc904a58b3f5486b2285e8825.tar.bz2
caelestia-shell-32ff695d9e2993fcc904a58b3f5486b2285e8825.zip
filedialog: better icon filtering
Only thumbnail valid image types Also move wallpaper extensions into separate singleton in utils
Diffstat (limited to 'modules/dashboard')
-rw-r--r--modules/dashboard/Wrapper.qml2
1 files changed, 1 insertions, 1 deletions
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)}`]);