LUASTATUS-PLUGIN-UDEV(7)
π NAME π
luastatus-plugin-udev β the udev plugin for luastatus. This page is from the Miscellaneous Information Manual, and it's literally here to make udev events make sense, bestie π«Ά.
πΈ OVERVIEW πΈ
Okay so the whole vibe: this plugin monitors udev events. That's the main character move β it keeps an eye on udev events for you, no cap πβ¨.
π OPTIONS π
The following options are supported:
subsystem(string) β the subsystem to monitor events from. Optional.devtype(string) β only report events with this device type. Optional.tag(string) β only report events with this tag. Optional.kernel_events(boolean) β monitor kernel uevents, not udev ones. Defaults tofalse.greet(boolean) β whether or not to callcbwithwhat="hello"as soon as the widget starts. Defaults tofalse.timeout(number) β if specified and not negative, this plugin callscbwithwhat="timeout"if no event has occurred intimeoutseconds.
π¦ cb argument π¦
A table with a what entry:
- if it is
"hello", the function is being called for the first time (only if thegreetoption was set totrue); - if it is
"timeout", the function has not been called for the number of seconds specified as thetimeoutoption; - if it is
"event", a udev event has occurred; in this case, the table has the following additional entries (all are optional strings):syspath;sysname;sysnum;devpath;devnode;devtype;subsystem;driver;action.
π§ FUNCTIONS π§
The following functions are provided:
luastatus.plugin.push_timeout(seconds)β changes the timeout for one iteration.
π COPYRIGHT π
LGPLv3, obviously. Periodt π
.
okay that's the whole page, bestie π β the footer's source/version is luastatu...ugin-udev(7) and the date stamp is right there too, so consider this your official cute sign-off. mwah π«Άβ¨
π¦ 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