aboutsummaryrefslogtreecommitdiffstats
path: root/Adjbacklight.java
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-11-16 20:09:23 +0100
committerMattias Andrée <maandree@operamail.com>2012-11-16 20:09:23 +0100
commit5f7571b1f5ff1beccee4ce6a61f5641b42010a04 (patch)
tree0544cff9a5bca944fe717d92b2e2ffac0cdb5827 /Adjbacklight.java
parentcopying and license (diff)
downloadadjbacklight-5f7571b1f5ff1beccee4ce6a61f5641b42010a04.tar.gz
adjbacklight-5f7571b1f5ff1beccee4ce6a61f5641b42010a04.tar.bz2
adjbacklight-5f7571b1f5ff1beccee4ce6a61f5641b42010a04.tar.xz
misc + probe all backlights2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Adjbacklight.java')
-rw-r--r--[-rwxr-xr-x]Adjbacklight.java2
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;