From 82ce480c1b51e90bf5caf66172aa6d589acc36eb Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 12 May 2023 01:19:01 -0500 Subject: [PATCH] Fix fractional brightness levels --- os/linux/eww/eww.yuck | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os/linux/eww/eww.yuck b/os/linux/eww/eww.yuck index 0a8550b..dc92aba 100644 --- a/os/linux/eww/eww.yuck +++ b/os/linux/eww/eww.yuck @@ -49,5 +49,5 @@ (defpoll time :interval "1s" "date '+%a %b %d %H:%M:%S'") -(defpoll brightness :interval "5s" - "echo $((100 * ($(brightnessctl get) / $(brightnessctl max))))") +(defpoll brightness :interval "10s" + "echo $(((100 * $(brightnessctl get)) / $(brightnessctl max)))")