diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/background/Wallpaper.qml | 2 | ||||
| -rw-r--r-- | modules/dashboard/Wrapper.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/background/Wallpaper.qml b/modules/background/Wallpaper.qml index 57f5dc0..2ec4927 100644 --- a/modules/background/Wallpaper.qml +++ b/modules/background/Wallpaper.qml @@ -66,7 +66,7 @@ Item { title: qsTr("Select a wallpaper") filterLabel: qsTr("Image files") - filters: Wallpapers.extensions + filters: Images.validImageExtensions onAccepted: path => Wallpapers.setWallpaper(path) } 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)}`]); |