Document i3/sway/waybar usage

This commit is contained in:
Kaan Barmore-Genç 2023-04-26 20:32:45 -04:00
parent 2d3f54a919
commit 037fd6bedb
Signed by: kaan
GPG key ID: B2E280771CD62FCF

View file

@ -17,3 +17,21 @@ Then run `backlight-control` to get the current brightness as a percentage, or
`backlight-control +1` to increase brightness by 1 percent, or `backlight-control +1` to increase brightness by 1 percent, or
`backlight-control -1` to decrease brightness by 1 percent. Or higher numbers `backlight-control -1` to decrease brightness by 1 percent. Or higher numbers
for higher percentages at a time. for higher percentages at a time.
### With i3 / Sway
```
bindsym XF86MonBrightnessUp exec backlight-control +1
bindsym XF86MonBrightnessDown exec backlight-control -1
```
### With waybar
```
"backlight": {
"device": "intel_backlight",
"format": "{percent}%",
"on-scroll-up": "backlight-control +1",
"on-scroll-down": "backlight-control -1"
},
```