aboutsummaryrefslogtreecommitdiffstats
path: root/Adjbacklight.java
diff options
context:
space:
mode:
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;