Created
February 28, 2014 13:32
-
-
Save mbaez/9271180 to your computer and use it in GitHub Desktop.
This script change the brightness for intel backlight driver, works in sony vaio
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# sudo ./change-brightness.sh -3000 //reduce the brightness | |
# sudo ./change-brightness.sh 3000 //add brightness | |
path=/sys/class/backlight/intel_backlight | |
echo `cat $path/actual_brightness`+ $1 | bc > $path/brightness |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment