Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeremija/bright
Helps set the brightness outside X server for ThinkPad X230. Probably works with other laptops with Intel graphics cards.
https://github.com/jeremija/bright
Last synced: 9 days ago
JSON representation
Helps set the brightness outside X server for ThinkPad X230. Probably works with other laptops with Intel graphics cards.
- Host: GitHub
- URL: https://github.com/jeremija/bright
- Owner: jeremija
- Created: 2015-09-01T06:59:41.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-08T08:11:21.000Z (about 9 years ago)
- Last Synced: 2024-04-14T19:48:32.322Z (7 months ago)
- Language: C
- Homepage:
- Size: 164 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Adjust brightness for ThinkPad X230
Helps set the brightness outside X server for ThinkPad X230. Probably works
with other laptops making use of `/sys/class/backlight`.The idea was to create a binary which will have a sticky UID so no root is
necessary.# Installation
```bash
# clone the repository
git clone https://github.com/jeremija/bright
cd bright# build
make# to install binary in /usr/local/bin
sudo make install
```# Usage
```bash
bright [-|+]# decrease brightness by 10%:
bright -10# increase brightness by 10%:
bright +10# set brightness to 70%:
bright 70
```The default brightness backend is set to `intel_backlight`. The
`BRIGHT_BACKEND` environment variable can be used to override the default
setting. Check the `/sys/class/backlight` directory to find which backend to
use.# License
MIT