Created
September 16, 2022 18:32
-
-
Save tarikwaleed/b62971eff6a6a10c862aba1834fa0bf9 to your computer and use it in GitHub Desktop.
Simple fish function to control the laptop britghtness from the command line (tested on Ubuntu)
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
function dim --argument value | |
echo $value | sudo tee /sys/class/backlight/intel_backlight/brightness | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment