luastatu...ht-linux(7)

πŸ“¦
version 0.6.0 Β· 2 versions
, in nixos 26.05

✨ Name ✨

okay so bestie, welcome to the luastatu...ht-linux(7) page from the Miscellaneous Information Manual β€” it's all about luastatus-plugin-backlight-linux, the Linux-specific backlight plugin for luastatus. πŸ’…βœ¨


🌈 Overview 🌈

This is a derived plugin, and its whole main-character job is: it shows the display backlight level when it changes. That's it. That's the vibe. πŸ‘‘πŸ’–


πŸŽ€ Functions πŸŽ€

The following functions are provided:

  • widget(tbl) β€” constructs a widget table required by luastatus. tbl is a table with the following fields:

(required)

  • cb: function β€” the callback that will be called with a display backlight level (a number from 0 to 1), or with nil. 🫢

(optional)

  • syspath: string β€” path to the device directory, e.g.:
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
  • timeout: number β€” backlight information is hidden after the timeout in seconds (default is 2). ⏱️
  • event β€” the event entry of the resulting table (see luastatus documentation for the description of widget.event field). πŸ¦‹

LGPLv3


cute sign-off time: that's the luastatu...ht-linux(7) footer vibe at the very bottom β€” manual label only, no extra date/version drama here. byeee bestie, go be iconic with your backlight widget πŸ’œπŸŽ€

πŸ“¦ where this page comes from