DEV Community

HasOne
HasOne

Posted on

Adjust your screen brightness

As Developer, working late night in front of computer is common, but working late night has got a brightness problem which effects on eye long run, this script will help you to adjust your monitor brightness *NIX OS!

Clone

follow the underneath steps:

git clone https://github.com/lifeeric/brightness-shell-script.git
cd brightness

# Rename
mv brtns.sh brtns

# Permission
chmod +x brtns

sudo cp brtns /bin
Enter fullscreen mode Exit fullscreen mode

Usage

run the below command:

brtns
Enter fullscreen mode Exit fullscreen mode

give it brightness value, takes from 1 to 100 or 1 to 10!

$ brtns 60
Enter fullscreen mode Exit fullscreen mode

or

$ brtns 6
Enter fullscreen mode Exit fullscreen mode

Thanks!

Top comments (0)