Skip to content

xbrightness is a linux/X11 (xrandr) tool to adjust brightness of all connected monitors at the same time

License

Notifications You must be signed in to change notification settings

StephaneBunel/v-xbrightness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xbrightness

xbrightness is a tool to adjust the brightness of all connected monitors in one command. xbrightness use xrandr to handle monitors, so it must be installed.

I wrote this tool:

  • to solve a problem I had with my new laptop (xbacklight doesn't work)
  • play with V lang (http://vlang.io).

Usage

Adjust brightness 10% higher:

xbrightness +10

Adjust brightness 20% lower:

xbrightness -20

Set brightness to 80%:

xbrightness =80

Show status of connected monitors:

xbrightness status

Configuration

By default xbrightness try to find xranrd in PATH. You can set the path to xrandr by setting environment variable XBR_XRANDR.

How to build

v . -prod -o xbrightness

About

xbrightness is a linux/X11 (xrandr) tool to adjust brightness of all connected monitors at the same time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published