mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-05 06:59:50 -05:00
feat: screenshot tool
This commit is contained in:
parent
de23a67917
commit
6f39dae2ea
8 changed files with 343 additions and 17 deletions
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue