Backlight utility for Linux
Find a file
2020-10-13 19:18:45 -07:00
.gitignore Initial commit 2020-10-10 13:32:39 -07:00
.gitlab-ci.yml Initial commit 2020-10-10 13:32:39 -07:00
go.mod Add interactive terminal interface 2020-10-11 17:47:09 -07:00
go.sum Add interactive terminal interface 2020-10-11 17:47:09 -07:00
LICENSE Initial commit 2020-10-10 13:32:39 -07:00
main.go Add interactive terminal interface 2020-10-11 17:47:09 -07:00
README.md Add sudo instructions 2020-10-13 19:18:45 -07:00
screenshot.png Add screenshot 2020-10-13 13:00:01 -07:00
tui.go Add interactive terminal interface 2020-10-11 17:47:09 -07:00

brightness

CI status Donate

Backlight utility for Linux

Screenshot

Screenshot

Install

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.

Usage

sudo is required to modify brightness. It is omitted below for clarity.

Set

brightness 60
brightness 80%

Decrease

brightness -10
brightness -20%

Increase

brightness 10
brightness +20%

Interactive

brightness -i

Supports input via Vim keybindings, arrow keys and mouse.

Support

Please share issues and suggestions here.