From 35994f730803a34b67c741c3f21976c31da0e5cd Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 19 May 2025 21:03:34 +0800 Subject: dashboard: resources --- services/Brightness.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'services/Brightness.qml') diff --git a/services/Brightness.qml b/services/Brightness.qml index 2de51a0..fabac1f 100644 --- a/services/Brightness.qml +++ b/services/Brightness.qml @@ -95,7 +95,6 @@ Singleton { if (Math.round(brightness * 100) === rounded) return; brightness = value; - console.log(brightness) setProc.command = isDdc ? ["ddcutil", "-b", busNum, "setvcp", "10", rounded] : ["brightnessctl", "s", `${rounded}%`]; setProc.startDetached(); } @@ -107,7 +106,7 @@ Singleton { Component.onCompleted: { initProc.command = isDdc ? ["ddcutil", "-b", busNum, "getvcp", "10", "--brief"] : ["sh", "-c", `echo "a b c $(brightnessctl g) $(brightnessctl m)"`]; - initProc.running = true; + initProc.running = true; } } -- cgit v1.2.3-freya