diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-19 21:03:34 +0800 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-19 21:03:34 +0800 |
| commit | 35994f730803a34b67c741c3f21976c31da0e5cd (patch) | |
| tree | b97836dd641ea1efa379ba0adfb5ad880067741e /services/Brightness.qml | |
| parent | dashboard: fix media cover art (diff) | |
| download | caelestia-shell-35994f730803a34b67c741c3f21976c31da0e5cd.tar.gz caelestia-shell-35994f730803a34b67c741c3f21976c31da0e5cd.tar.bz2 caelestia-shell-35994f730803a34b67c741c3f21976c31da0e5cd.zip | |
dashboard: resources
Diffstat (limited to 'services/Brightness.qml')
| -rw-r--r-- | services/Brightness.qml | 3 |
1 files changed, 1 insertions, 2 deletions
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; } } |