This Raycast extension provides enhanced brightness control for macOS, allowing users to adjust screen brightness in larger increments and set custom brightness levels.
- Brightness Up: Increases screen brightness by approximately 25%.
- Brightness Down: Decreases screen brightness by approximately 25%.
- Set Custom Brightness: Allows setting a specific brightness level (0-100%).
- Open Raycast.
- Type "Brightness Up" or "Brightness Down" to access the quick adjustment commands.
- Type "Set Custom Brightness" to access the custom brightness setting command.
- Enter a value between 0 and 100 to set the desired brightness level.
- The extension uses AppleScript to simulate key presses for brightness adjustment.
- Custom brightness setting first reduces brightness to minimum, then increases to the desired level for more accurate results.
- The extension directly interfaces with macOS's brightness control, bypassing the need for additional permissions or system modifications.
- The custom brightness setting may not always be 100% accurate due to the method used for adjustment.
- Rapid consecutive adjustments may sometimes lead to unexpected results.
If the brightness change seems too drastic or not noticeable:
- Try adjusting the number of repetitions in the
makeScript
function insrc/script.ts
. - Ensure you're running the latest version of the extension.
- Test on different Mac models, as brightness behavior can vary.
To contribute to this project:
- Clone the repository.
- Install dependencies with
npm install
. - Make your changes.
- Build the extension with
npm run build
. - Test your changes with
npm run dev
.
- [Cali Castle/CaliCastle]
- [Art Seabra/artseabra]
[Specify your license here, e.g., MIT License]