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 |
|
Source | extensions/brightness/libbrightness.m line 18 |
Signature | hs.brightness.get() -> number |
---|---|
Type | Function |
Description | Returns the current brightness of the display |
Parameters |
|
Returns |
|
Source | extensions/brightness/libbrightness.m line 120 |
Signature | hs.brightness.set(brightness) -> boolean |
---|---|
Type | Function |
Description | Sets the display brightness |
Parameters |
|
Returns |
|
Source | extensions/brightness/libbrightness.m line 82 |