diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-01-09 15:15:49 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-01-09 15:15:49 -0500 |
| commit | d8efeffaf11bca0fd4d14b67b5dcc3ffa4cb972d (patch) | |
| tree | 38b012373dce50c8eecdfaad36332fb6a362f698 /services/Wallpapers.qml | |
| parent | only show active workspaces, fix colors (diff) | |
| download | caelestia-shell-d8efeffaf11bca0fd4d14b67b5dcc3ffa4cb972d.tar.gz caelestia-shell-d8efeffaf11bca0fd4d14b67b5dcc3ffa4cb972d.tar.bz2 caelestia-shell-d8efeffaf11bca0fd4d14b67b5dcc3ffa4cb972d.zip | |
remove more stuffff
Diffstat (limited to 'services/Wallpapers.qml')
| -rw-r--r-- | services/Wallpapers.qml | 45 |
1 files changed, 0 insertions, 45 deletions
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<string> 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"); - } - } -} |