Created
July 10, 2019 20:07
-
-
Save yfe404/44cbfd96e5dd5458dd78cb0cf481548c to your computer and use it in GitHub Desktop.
Increase screen brightness using xrandr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
b=$(xrandr --current --verbose | grep -i bright | cut -d':' -f 2) | |
b=$((b + 0.1)) | |
xrandr --output eDP-1 --brightness $b ## adjust the output with yours, you can get it using the commend xrandr (with no args) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment