From 0e465e90a598ac175e7b9b5b3049a5bff2c81598 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Mon, 26 Feb 2018 11:53:20 +0100 Subject: [PATCH] correct rounding and no delay --- local/bin/bslider | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/local/bin/bslider b/local/bin/bslider index 597a672..09c6a15 100755 --- a/local/bin/bslider +++ b/local/bin/bslider @@ -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