correct rounding and no delay

This commit is contained in:
Felix Van der Jeugt 2018-02-26 11:53:20 +01:00
parent cf02e1c266
commit 0e465e90a5
No known key found for this signature in database
GPG Key ID: 58B209295023754D

View File

@ -1,4 +1,4 @@
#!/bin/sh
wjt -x "$(xbacklight -get)" | while read next; do
xbacklight -set "$next"
xbacklight -get | xargs printf '%.0f' | xargs wjt -x | while read next; do
xbacklight -time 0 -set "$next"
done