Created
May 23, 2024 13:02
-
-
Save sunknudsen/dc44b29f3d8cdb2bd8666ca33afd5bf1 to your computer and use it in GitHub Desktop.
Your eyeballs will thank you for this
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
# Set brightness of external display | |
# Reference material for https://youtu.be/_Vy7m-LhGEc episode | |
b() { | |
if [ -z "$1" ] || [ "$1" = "--help" ]; then | |
printf "%s\n" "Usage: b integer" | |
return 0 | |
fi | |
m1ddc set luminance $1 > /dev/null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment