colorscheme preview

This commit is contained in:
Zacharias-Brohn
2025-11-27 21:54:33 +01:00
parent 44c05f57db
commit 55bc4ea048
4 changed files with 3 additions and 98 deletions
+3 -1
View File
@@ -2,10 +2,11 @@ pragma Singleton
import Quickshell
import Quickshell.Io
import ZShell.Models
import qs.Config
import qs.Modules
import qs.Helpers
import ZShell.Models
import qs.Paths
Searcher {
id: root
@@ -27,6 +28,7 @@ Searcher {
function stopPreview(): void {
showPreview = false;
Quickshell.execDetached(["python3", Quickshell.shellPath("scripts/SchemeColorGen.py"), `--path=${root.actualCurrent}`, `--thumbnail=${Paths.cache}/imagecache/thumbnail.jpg`, `--output=${Paths.state}/scheme.json`]);
}
list: wallpapers.entries