feat: screenshot tool

This commit is contained in:
kossLAN 2025-06-11 18:10:21 -04:00
parent de23a67917
commit 6f39dae2ea
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8
8 changed files with 343 additions and 17 deletions

View file

@ -5,7 +5,6 @@ import ".."
Scope {
id: root
required property var screen
property string matugenConf: Qt.resolvedUrl("matugen.toml").toString().replace("file://", "")
LazyLoader {
@ -54,8 +53,18 @@ Scope {
id: matugen
running: false
// Formatter is keeping me hostage frfr...
command: ["matugen", "image", ShellSettings.settings.wallpaperUrl.replace("file://", ""), "--type", ShellSettings.settings.colorScheme, "--json", "hex", "--config", root.matugenConf]
// Don't format this lol
command: [
"matugen",
"image",
ShellSettings.settings.wallpaperUrl.replace("file://", ""),
"--type",
ShellSettings.settings.colorScheme,
"--json",
"hex",
"--config",
root.matugenConf
]
stdout: SplitParser {
onRead: data => {