hl.dsp.pass

hl.dsp.pass(spec: table)

Create a dispatcher.

Signature

hl.dsp.pass(spec: table): HL.Dispatcher

Parameters

spectable

Must contain window.

windowHL.WindowSelector

Window to pass the current key event to.

Returns

dispatcherHL.Dispatcher

Dispatcher object returned by this function.

Examples

hl.bind("SUPER + P", hl.dsp.pass({ window = "class:firefox" }))

See also

HL.Dispatcher

Dispatcher object returned by this function.

hl.bind()

Bind a dispatcher to a key.

hl.dispatch()

Execute a dispatcher immediately.