Overview
Variables
Path to the JSON config file (default: ~/.config/AudioPilot/config.json).
Seconds to wait before emitting a coalesced device-change notification (default: 5).
Shown instead of menuIcon while the default output is muted or at volume 0
(default: "🔇"). Same format as menuIcon.
Methods
Set one or more of AudioPilot's spoon-level variables (configPath, notifyDelay,
menuIcon, mutedIcon, iconPreset) from a table. Call before :start().
Parameters
opts- a table with any ofconfigPath,notifyDelay,menuIcon,mutedIcon,iconPreset("color"= emoji,"bw"= monochrome template icons; explicit menuIcon/mutedIcon in the same call override the preset)
Called automatically by hs.loadSpoon(). Logs the loaded version.
Load config, create the menu bar icon, enforce audio priorities, and start monitoring device changes.
Stop the audio device watcher, flush any pending notifications, and remove the menu bar icon.