https://github.com/mafredri/macos-brightness
Simple CLI for changing brightness on macOS
https://github.com/mafredri/macos-brightness
brightness cli macos
Last synced: about 1 year ago
JSON representation
Simple CLI for changing brightness on macOS
- Host: GitHub
- URL: https://github.com/mafredri/macos-brightness
- Owner: mafredri
- License: mit
- Created: 2018-11-01T18:13:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-12T16:22:10.000Z (about 7 years ago)
- Last Synced: 2025-03-30T23:12:11.717Z (about 1 year ago)
- Topics: brightness, cli, macos
- Language: Go
- Size: 4.88 KB
- Stars: 21
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# macos-brightness
Your friendly neighbordhood macOS brightness CLI. Sets the brightness of the builtin display (e.g. on MacBooks).
Tested on macOS Mojave (10.14), should work on High Sierra (10.13) as well.
## Installing
```console
$ go get -u github.com/mafredri/macos-brightness/cmd/brightness
```
## Usage
### Get current brightness
```console
$ brightness
75.66666603088379
```
### Set brightness percentage
```console
$ brightness -b 90.5
```
## See also
- [macos-darkmode](https://github.com/mafredri/macos-darkmode): Simple CLI for controlling macOS Dark Mode via Apples private API