Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 2 months 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 (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-12T16:22:10.000Z (over 5 years ago)
- Last Synced: 2024-07-27T06:37:27.287Z (about 2 months ago)
- Topics: brightness, cli, macos
- Language: Go
- Size: 4.88 KB
- Stars: 20
- Watchers: 5
- 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