Fix fractional brightness levels

This commit is contained in:
Daniel Flanagan 2023-05-12 01:19:01 -05:00
parent 18dc7a1772
commit 82ce480c1b
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -49,5 +49,5 @@
(defpoll time :interval "1s" (defpoll time :interval "1s"
"date '+%a %b %d %H:%M:%S'") "date '+%a %b %d %H:%M:%S'")
(defpoll brightness :interval "5s" (defpoll brightness :interval "10s"
"echo $((100 * ($(brightnessctl get) / $(brightnessctl max))))") "echo $(((100 * $(brightnessctl get)) / $(brightnessctl max)))")