new readme file
This commit is contained in:
parent
d8a5dbb367
commit
56320bede0
34
README.md
Normal file
34
README.md
Normal file
@ -0,0 +1,34 @@
|
||||
# brightness
|
||||
|
||||
Simple python script to change display brightness on active display using xrandr and xdotool.
|
||||
|
||||
## Setup Instructions
|
||||
|
||||
### Requirements
|
||||
|
||||
* python3
|
||||
* xrandr
|
||||
* xdotool
|
||||
|
||||
### Setup
|
||||
|
||||
```sh
|
||||
git clone git@0cd.xyz:michael/brightness.git
|
||||
```
|
||||
|
||||
create settings file with your display IDs
|
||||
|
||||
```json
|
||||
{
|
||||
"display0" : "DP-2",
|
||||
"display1" : "DP-1"
|
||||
}
|
||||
```
|
||||
|
||||
run script with
|
||||
|
||||
```sh
|
||||
Usage: ./brightness.py [+|-]
|
||||
brightness + # increases brightness
|
||||
brightness - # decreases brightness
|
||||
```
|
Loading…
Reference in New Issue
Block a user