runner

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(action *config.Action, defaultVolume int, profile, webhookURL string, afk bool) error

Execute runs the steps in the given action. Steps that don't use the audio pipeline (toast, etc.) are fired in parallel at the start. Audio-pipeline steps (sound, say) run sequentially in order.

func FilterSteps

func FilterSteps(steps []config.Step, afk bool) []config.Step

FilterSteps returns only the steps that should run given the current AFK state. Steps with When="" always run; "afk" runs only when afk is true; "present" runs only when afk is false.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL