From d8efeffaf11bca0fd4d14b67b5dcc3ffa4cb972d Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 9 Jan 2026 15:15:49 -0500 Subject: remove more stuffff --- services/Wallpapers.qml | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 services/Wallpapers.qml (limited to 'services/Wallpapers.qml') diff --git a/services/Wallpapers.qml b/services/Wallpapers.qml deleted file mode 100644 index 443b416..0000000 --- a/services/Wallpapers.qml +++ /dev/null @@ -1,45 +0,0 @@ -pragma Singleton - -import qs.config -import qs.utils -import Caelestia.Models -import Quickshell -import Quickshell.Io -import QtQuick - -Searcher { - id: root - - readonly property list smartArg: Config.services.smartScheme ? [] : ["--no-smart"] - - property bool showPreview: false - readonly property string current: Paths.wallpaper - - function setWallpaper(path: string): void { - actualCurrent = path; - Quickshell.execDetached(["caelestia", "wallpaper", "-f", path, ...smartArg]); - } - - list: wallpapers.entries - key: "relativePath" - useFuzzy: Config.launcher.useFuzzy.wallpapers - extraOpts: useFuzzy ? ({}) : ({ - forward: false - }) - - IpcHandler { - target: "wallpaper" - - function get(): string { - return root.actualCurrent; - } - - function set(path: string): void { - root.setWallpaper(path); - } - - function list(): string { - return root.list.map(w => w.path).join("\n"); - } - } -} -- cgit v1.2.3-freya