yambar-modules-backlight(5)

πŸ’– backlight β€” yambar-modules-backlight(5) πŸ’–

okay bestie, this is the yambar-modules-backlight(5) page from the File Formats Manual, and it's lowkey one of the cutest little modules ever 🫢

🌸 NAME 🌸

backlight β€” this module reads monitor backlight status. that's the whole vibe ✨

✨ DESCRIPTION ✨

bestie, this module reads your monitor's backlight status straight from /sys/class/backlight, and it uses udev to monitor for changes. no cap, it keeps an eye on things for you πŸ‘€πŸ’…

🏷️ TAGS 🏷️

these are the tags it gives you, and yes they're both type range:

  • brightness β€” type range; the current brightness level, in absolute value πŸ”†
  • percent β€” type range; the current brightness level, in percent πŸ’―

βš™οΈ CONFIGURATION βš™οΈ

there's exactly one config key, and she is required, periodt:

  • name β€” type string; required: yes; the backlight device's name (one of the names in /sys/class/backlight) πŸŽ€

πŸ§ͺ EXAMPLES πŸ§ͺ

here's the example, untouched and iconic:

           bar:
             left:
               - backlight:
                   name: intel_backlight
                   content:
                     string: {text: "backlight: {percent}%"}

like, look at her go β€” intel_backlight in the house, showing backlight: {percent}% πŸ’–βœ¨

πŸ‘€ SEE ALSO πŸ‘€

go read these too, bestie:


mwah πŸ’‹ sign-off time: this page is yambar-modules-backlight(5) from the File Formats Manual, source/version yambar-modules-backlight(5), dated 2024-04-22. slay πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from