forked from Shinonome/dots-hyprland
background: comment debug stuff
This commit is contained in:
@@ -120,7 +120,6 @@ Variants {
|
|||||||
leastBusyRegionProc.horizontalPadding = bgRoot.movableXSpace + 100
|
leastBusyRegionProc.horizontalPadding = bgRoot.movableXSpace + 100
|
||||||
leastBusyRegionProc.verticalPadding = bgRoot.movableYSpace + 100
|
leastBusyRegionProc.verticalPadding = bgRoot.movableYSpace + 100
|
||||||
leastBusyRegionProc.running = false;
|
leastBusyRegionProc.running = false;
|
||||||
console.log(leastBusyRegionProc.command.join(" "))
|
|
||||||
leastBusyRegionProc.running = true;
|
leastBusyRegionProc.running = true;
|
||||||
}
|
}
|
||||||
Process {
|
Process {
|
||||||
@@ -138,13 +137,13 @@ Variants {
|
|||||||
"--horizontal-padding", horizontalPadding,
|
"--horizontal-padding", horizontalPadding,
|
||||||
"--vertical-padding", verticalPadding,
|
"--vertical-padding", verticalPadding,
|
||||||
path,
|
path,
|
||||||
"--visual-output",
|
// "--visual-output",
|
||||||
]
|
]
|
||||||
stdout: StdioCollector {
|
stdout: StdioCollector {
|
||||||
id: leastBusyRegionOutputCollector
|
id: leastBusyRegionOutputCollector
|
||||||
onStreamFinished: {
|
onStreamFinished: {
|
||||||
const output = leastBusyRegionOutputCollector.text
|
const output = leastBusyRegionOutputCollector.text
|
||||||
console.log("[Background] Least busy region output:", output)
|
// console.log("[Background] Least busy region output:", output)
|
||||||
if (output.length === 0) return;
|
if (output.length === 0) return;
|
||||||
const parsedContent = JSON.parse(output)
|
const parsedContent = JSON.parse(output)
|
||||||
bgRoot.clockX = parsedContent.center_x * bgRoot.effectiveWallpaperScale
|
bgRoot.clockX = parsedContent.center_x * bgRoot.effectiveWallpaperScale
|
||||||
|
|||||||
Reference in New Issue
Block a user