diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-11-16 20:09:23 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-11-16 20:09:23 +0100 |
commit | 5f7571b1f5ff1beccee4ce6a61f5641b42010a04 (patch) | |
tree | 0544cff9a5bca944fe717d92b2e2ffac0cdb5827 /Adjbacklight.java | |
parent | copying and license (diff) | |
download | adjbacklight-2.tar.gz adjbacklight-2.tar.bz2 adjbacklight-2.tar.xz |
misc + probe all backlights2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--[-rwxr-xr-x] | Adjbacklight.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Adjbacklight.java b/Adjbacklight.java index 888beb6..7580208 100755..100644 --- a/Adjbacklight.java +++ b/Adjbacklight.java @@ -27,7 +27,7 @@ public class Adjbacklight { public static void main(final String... args) throws IOException { - String dir = "/sys/class/backlight/intel_backlight/"; + String dir = "/sys/class/backlight/" + args[2] + "/"; int width = Integer.parseInt(args[1]); int max = 0, min = 0, cur = 0; |