Skip to content

bravokiloecho/toggle-screen-brightness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Toggle Screen Brightness

Uses an Applescript to toggle screen brightness from max brightness to off (ie, zero brightness).

Best used with Alfred 2. To do so, don't forget to wrap the script with:

on alfred_script(q)

	-- [code here...]

end alfred_script

!!! PLEASE NOTE !!!

This script is dependent on the brightness command line utility.

Get that here: https://github.com/nriley/brightness

Also note that the /usr/local/bin/ path to the screenbrightness command might need changing depending to the command's location.

About

Toggles the screen brightness in Mac OS from full to zero

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published