- Physical displays blanked via overlay - Remote video and input keep working - Exclude overlay from screen capture - Add blackout API and UI toggle - Wire flag through capture protocol
14 lines
161 B
Go
14 lines
161 B
Go
package blackout
|
|
|
|
func Enabled() bool { return running() }
|
|
|
|
func Set(on bool) error {
|
|
if on {
|
|
return start()
|
|
}
|
|
stop()
|
|
return nil
|
|
}
|
|
|
|
func Stop() { stop() }
|