sebhildebrandt / systeminformation

System Information Library for Node.JS
MIT License
2.65k stars 300 forks source link

Display status (connected, disconnected, dimmed) #916

Open felipecrs opened 6 days ago

felipecrs commented 6 days ago

Is your feature request related to a problem? Please describe. I have an application for which I'd like to stop running actions in case there is no monitor connected or if it's dimmed (i.e. screen off due to inactivity).

Describe the solution you'd like Maybe this information can be included in the graphics.display?

It looks like, at least on Windows, such information can be taken:

https://stackoverflow.com/a/64787162

Describe alternatives you've considered So far, none.

Additional context N/A