Documentation
¶
Overview ¶
MonitorBar manages an external monitor from the macOS menu bar or the Windows notification area: inputs and volume over the HyperOS LAN API, software brightness and warmth, resolutions and screen time.
MonitorBar run, panel opens on first launch MonitorBar --show run and open the panel MonitorBar --probe print what it can see and control, then exit MonitorBar --open-at-login on|off start at login or not, then exit MonitorBar --update install a newer version if there is one, then exit
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
display
Package display reads and changes the target monitor through the operating system: its modes, its gamma table and whether it is lit.
|
Package display reads and changes the target monitor through the operating system: its modes, its gamma table and whether it is lit. |
|
keystate
Package keystate tells whether the keys of a shortcut are still held, for repeating it while they are, as the system repeats its own keys.
|
Package keystate tells whether the keys of a shortcut are still held, for repeating it while they are, as the system repeats its own keys. |
|
mediakeys
Package mediakeys takes the keyboard's brightness and volume keys (F1, F2, F10, F11, F12 on a Mac without fn) from the system, for the external display.
|
Package mediakeys takes the keyboard's brightness and volume keys (F1, F2, F10, F11, F12 on a Mac without fn) from the system, for the external display. |
|
mitv
Package mitv talks to the LAN remote API of Xiaomi HyperOS displays and TVs: the HTTP server on port 6095 that switches inputs and changes volume.
|
Package mitv talks to the LAN remote API of Xiaomi HyperOS displays and TVs: the HTTP server on port 6095 that switches inputs and changes volume. |
|
schedule
Package schedule decides whether it is day or night by the times the user set, so the app can switch scenes on its own.
|
Package schedule decides whether it is day or night by the times the user set, so the app can switch scenes on its own. |
|
usage
Package usage keeps daily screen time: how long the monitor was lit, and how long someone was using it.
|
Package usage keeps daily screen time: how long the monitor was lit, and how long someone was using it. |
Click to show internal directories.
Click to hide internal directories.
