LUASTATUS-PLUGIN-ALSA(7)
πΈ NAME πΈ
okay bestie, welcome to luastatus-plugin-alsa(7) β it's from the Miscellaneous Information Manual, and it's literally the ALSA plugin for luastatus π
β¨ OVERVIEW β¨
bestie, this plugin monitors the volume and mute state of an ALSA channel. that's the whole vibe. no cap.
π OPTIONS π
The following options are supported:
cardβ string. Card name, defaults to"default"β¨channelβ string. Channel name, defaults to"Master"πin_dbβ boolean. Whether or not to report normalized volume (in dBs) πΈcaptureβ boolean. Whether or not this is a capture stream, as opposed to a playback one. Defaults tofalseπtimeoutβ number. If specified and not negative, this plugin will callcbwithnilargument whenever the channel does not change its state intimeoutseconds since the previous call tocbβmake_self_pipeβ boolean. Iftrue, thewake_up()(see the Functions section) function will be available. Defaults tofalseπ¦
okay so the timeout move only applies when it's specified and not negative β that's the exact condition, bestie, no extra lore π
π«Ά cb argument π«Ά
On timeout, nil (if the timeout option has been specified).
Otherwise, the argument is a table with the following entries:
muteβ boolean. Whether or not the playback switch is turned off.
(Only provided if the channel has the playback switch capability.) π
volβ table with the following entries:cur,min,maxβ numbers. Current, minimal and maximal volume levels, correspondingly.
(Only provided if the channel has the volume control capability.) π₯
π¦ FUNCTIONS π¦
The following functions are provided:
wake_up()β Forces a call tocb.
Only available if the make_self_pipe option was set to true; otherwise, it throws an error π
π COPYRIGHT π
LGPLv3 π
okay that's the whole page, bestie π the original footer just repeats luastatu...ugin-alsa(7) β no extra source/version or date line is listed there, so this is your cute sign-off instead: luastatus-plugin-alsa(7) π¦β¨π
π¦ where this page comes from
- nixos 26.05: luastatus 0.6.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms