Created
August 22, 2020 21:53
-
-
Save kabakaev/51f08dcdf2d8daf8e43265f29a2ebd5d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # Usage: brightness 0.7 | |
| # brightness bash alias sets brightness on all connected monitors. | |
| # Tested on Ubuntu 18.04. | |
| brightness () { | |
| for dp in `xrandr -q | grep " connected" | cut -d ' ' -f 1`; do | |
| xrandr --output $dp --brightness "$1" | |
| done | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment