Inspect/manipulate display brightness
Home: https://github.com/asmagill/mjolnir_asm.sys
This module is based primarily on code from the previous incarnation of Mjolnir by Steven Degutis.
| Signature | hs.brightness.ambient() -> number |
|---|---|
| Type | Function |
| Description | Gets the current ambient brightness Parameters:
Returns:
Notes:
|
| Signature | hs.brightness.get() -> number |
|---|---|
| Type | Function |
| Description | Returns the current brightness of the display Parameters:
Returns:
|
| Signature | hs.brightness.set(brightness) -> boolean |
|---|---|
| Type | Function |
| Description | Sets the display brightness Parameters:
Returns:
|