|Trevor Slocum a97f6019af||8 months ago|
|.gitignore||8 months ago|
|.gitlab-ci.yml||8 months ago|
|LICENSE||8 months ago|
|README.md||8 months ago|
|go.mod||8 months ago|
|go.sum||8 months ago|
|main.go||8 months ago|
|screenshot.png||8 months ago|
|tui.go||8 months ago|
Backlight utility for Linux
go get gitlab.com/tslocum/brightness cp ~/go/bin/brightness /sbin/brightness sudo visudo
Add the following line to your sudoers file to use
brightness without entering a password:
%wheel ALL=(ALL) NOPASSWD: /sbin/brightness
You may need to modify
%wheel to match the superuser group of your system.
sudo is required to modify brightness. It is omitted below for clarity.
brightness 60 brightness 80%
brightness -10 brightness -20%
brightness 10 brightness +20%
Supports input via Vim keybindings, arrow keys and mouse.
Please share issues and suggestions here.