organize files

This commit is contained in:
Zacharias-Brohn
2026-02-23 16:22:28 +01:00
parent 2c56913367
commit cdefe3706f
40 changed files with 1783 additions and 103 deletions
+25
View File
@@ -0,0 +1,25 @@
pragma Singleton
import Quickshell
import Quickshell.Io
import QtQuick
import qs.Config
Singleton {
id: root
property var args
readonly property string mode: Config.general.color.mode
readonly property string threshold: mode === "dark" ? "--threshold=9" : "--dynamic-threshold"
function generateColors(wallpaperPath) {
root.args = wallpaperPath;
wallustProc.running = true;
}
Process {
id: wallustProc
command: ["wallust", "run", root.args, `--palette=${root.mode}`, "--ignore-sequence=cursor", `${root.threshold}` ]
running: false
}
}