Created
December 15, 2020 16:10
-
-
Save mattkasun/5b52f2c2190797049b150e2f5b8e96f5 to your computer and use it in GitHub Desktop.
monitor brighness
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
#get connected monitors | |
xrandr -q | grep connected | |
#get brighness -- replace DP-1-2 with monitor name | |
xrandr --verbose --current |grep ^DP-1-2 -A5 | tail -n1 | |
#set brightness | |
xrandr --output DP-1-1 --brightness 1.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment