From 7ec5c041301ae8111d624811eec47c0ef82641f4 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Thu, 15 May 2025 22:53:09 +0200 Subject: [PATCH] brightness service: don't spill brightnessctl output into logs --- .config/quickshell/services/Brightness.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.config/quickshell/services/Brightness.qml b/.config/quickshell/services/Brightness.qml index 7e8be7cf4..45798b6e3 100644 --- a/.config/quickshell/services/Brightness.qml +++ b/.config/quickshell/services/Brightness.qml @@ -21,7 +21,6 @@ Singleton { } function increaseBrightness(): void { - console.log("increaseBrightness"); const focusedName = Hyprland.focusedMonitor.name; const monitor = monitors.find(m => focusedName === m.screen.name); if (monitor) @@ -114,7 +113,7 @@ Singleton { if (Math.round(brightness * 100) === rounded) return; brightness = value; - setProc.command = isDdc ? ["ddcutil", "-b", busNum, "setvcp", "10", rounded] : ["brightnessctl", "s", `${rounded}%`]; + setProc.command = isDdc ? ["ddcutil", "-b", busNum, "setvcp", "10", rounded] : ["brightnessctl", "s", `${rounded}%`, "--quiet"]; setProc.startDetached(); }