From ca82b3dea5d4bf35dae6c560370510289e3ce079 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Sun, 6 Dec 2020 17:22:10 +0530 Subject: fix light --- bin/.bin/light | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/.bin/light') diff --git a/bin/.bin/light b/bin/.bin/light index bba7e82..d44b241 100755 --- a/bin/.bin/light +++ b/bin/.bin/light @@ -4,12 +4,12 @@ case "$1" in u*) for f in /sys/class/backlight/*; do - echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; + echo $(($(<$f/brightness)+2*$(<$f/max_brightness)/100)) > $f/brightness; done ;; d*) for f in /sys/class/backlight/*; do - echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; + echo $(($(<$f/brightness)-2*$(<$f/max_brightness)/100)) > $f/brightness; done ;; *) -- cgit v1.2.3