Created
May 1, 2023 06:19
-
-
Save luckylittle/2b950e701c5030b3cac360cec52662fa to your computer and use it in GitHub Desktop.
Change the brightness of your monitor programatically
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/zsh | |
# Turn the monitor brightness down to almost zero | |
dconf write /org/gnome/shell/extensions/soft-brightness/current-brightness 0.01 | |
# Turn the monitor brightness up to usable value | |
dconf write /org/gnome/shell/extensions/soft-brightness/current-brightness 0.8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment