Backlight utility for Linux
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Trevor Slocum a97f6019af Add sudo instructions 11 months ago
.gitignore Initial commit 12 months ago
.gitlab-ci.yml Initial commit 12 months ago
LICENSE Initial commit 12 months ago
README.md Add sudo instructions 11 months ago
go.mod Add interactive terminal interface 11 months ago
go.sum Add interactive terminal interface 11 months ago
main.go Add interactive terminal interface 11 months ago
screenshot.png Add screenshot 11 months ago
tui.go Add interactive terminal interface 11 months ago

README.md

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.