DEV Community

loading...

Discussion on: Adjust the display brightness from command-line for Linux

Collapse
fultonbrowne profile image
Fulton Browne

I had a couple of issue with my machine with no bash or sudo (KISS linux). so I removed bashisms (Bash only expressions) and made fully posix compliant. I also had it check for sudo before running so users could run the command as root instead.

github.com/tuladhar/set-brightness...