hl.dsp.dpms

hl.dsp.dpms(spec?: table)

Create a dispatcher.

Signature

hl.dsp.dpms(spec?: table): HL.Dispatcher

Parameters

spectable, optional

Toggle-action table. May include monitor.

monitorHL.MonitorSelector, optional

Monitor to target.

Returns

dispatcherHL.Dispatcher

Dispatcher object returned by this function.

Examples

hl.dispatch(hl.dsp.dpms({ action = "off", monitor = "DP-1" }))

Notes

See also

HL.Dispatcher

Dispatcher object returned by this function.

hl.bind()

Bind a dispatcher to a key.

hl.dispatch()

Execute a dispatcher immediately.