Last active
November 25, 2015 03:17
-
-
Save VladSem/dd8d789d3f64b65c9a76 to your computer and use it in GitHub Desktop.
This script help you change the brightness on your laptop (tested on Asus and Intel chipset)
This file contains hidden or 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/bash | |
VALUE="$(cat /sys/class/backlight/intel_backlight/brightness)" | |
echo "Your carrent brightness is: ${VALUE}" | |
echo "Input your value of brightness: " | |
read INPUT | |
echo $INPUT | tee /sys/class/backlight/intel_backlight/brightness |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment