Fix fractional brightness levels
This commit is contained in:
parent
18dc7a1772
commit
82ce480c1b
|
@ -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)))")
|
||||
|
|
Reference in a new issue