Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 611 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 611 Bytes

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.