xbrightness/README.md
2019-12-22 15:08:13 +01:00

39 lines
791 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# xbrightness
Use xrandr to change brightness when you linux laptop can't use normal way
## Usage
- To shwo current brightnes use `xbrightnes`
```
xbrightness
Current: 0.50
```
- To set a brightnes use `xbrightnes <level>`, like `0.5` for 50% or `1.0` for 100%
```
xbrightness 0.5
Brightness set to 0.50
```
- To change current brightnes use `xbrightnes <action><level>` action can be `+` or `-`, like `+0.1` or `-0.4`
```
xbrightness +0.1
Brightness set to 0.60
xbrightness -0.4
Brightness set to 0.20
```
## Installation
- Requerments:
- Make
- GCC
- Xrand
- Commands to install:
```
git clone https://github.com/flifloo/xbrightness.git
cd xbrightness
sudo make install
```