summaryrefslogtreecommitdiff
path: root/bin/.bin/light
diff options
context:
space:
mode:
Diffstat (limited to 'bin/.bin/light')
-rwxr-xr-xbin/.bin/light4
1 files changed, 2 insertions, 2 deletions
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 @@
4case "$1" in 4case "$1" in
5 u*) 5 u*)
6 for f in /sys/class/backlight/*; do 6 for f in /sys/class/backlight/*; do
7 echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; 7 echo $(($(<$f/brightness)+2*$(<$f/max_brightness)/100)) > $f/brightness;
8 done 8 done
9 ;; 9 ;;
10 d*) 10 d*)
11 for f in /sys/class/backlight/*; do 11 for f in /sys/class/backlight/*; do
12 echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; 12 echo $(($(<$f/brightness)-2*$(<$f/max_brightness)/100)) > $f/brightness;
13 done 13 done
14 ;; 14 ;;
15 *) 15 *)