waybar-jack(5)

🎧 waybar-jack β€” the JACK module for waybar, explained by your fave πŸ’…

okay bestie, so this is a page from the File Formats Manual β€” it's waybar-jack(5), the whole entire vibe guide for the JACK module. sit down, grab a boba, we're doing this πŸ§‹βœ¨

🌸 NAME 🌸

waybar β€” the JACK module. that's it, that's the name, she's simple and she's iconic πŸ’–

✨ DESCRIPTION ✨

the jack module shows you the current state of the JACK server. like, right now, live, in your bar. main character energy fr fr πŸ‘‘

πŸŽ€ CONFIGURATION πŸŽ€

this whole section gets addressed by the key jack β€” that's how waybar knows which module you're talking about 🫢

  • format β€” typeof: string, default: {load}%. this is the format, aka how the info should be displayed. it's the fallback queen: it's used when the other formats aren't specified. πŸ’…
  • format-connected β€” typeof: string. used when the module is connected to the JACK server. slay πŸ¦‹
  • format-disconnected β€” typeof: string. used when the module is not connected to the JACK server. sad girl hours 😭
  • format-xrun β€” typeof: string. used for one polling interval when the JACK server reports an xrun. blink and you'll miss it ⭐
  • realtime β€” typeof: bool, default: true. option to drop real-time privileges for the JACK client opened by Waybar. yes, it's a whole thing, and yes, default is on. πŸŽ›οΈ
  • tooltip β€” typeof: bool, default: true. option to disable the tooltip on hover. hover bestie, hover 🌈
  • tooltip-format β€” typeof: string, default: {bufsize}/{samplerate} {latency}ms. the format of the info displayed in the tooltip. πŸ’¬
  • interval β€” typeof: integer or float, default: 1. the interval in which the information gets polled. she checks in on you constantly, obsessed πŸ“
  • rotate β€” typeof: integer. a positive value to rotate the text label (in 90 degree increments). spinny πŸ’«
  • max-length β€” typeof: integer. the maximum length in character the module should display. (yes, "character", singular, that's literally what the original says, we don't edit, we preserve πŸ™ˆ)
  • min-length β€” typeof: integer. the minimum length in characters the module should accept.
  • align β€” typeof: float. the alignment of the label within the module, where 0 is left-aligned and 1 is right-aligned. if the module is rotated, it will follow the flow of the text. 🧭
  • justify β€” typeof: string. the alignment of the text within the module's label, letting you pick 'left', 'right', or 'center' to define the positioning. ✨
  • on-click β€” typeof: string. command to execute when clicked on the module. πŸ–±οΈ
  • on-click-middle β€” typeof: string. command to execute when middle-clicked on the module using mousewheel. πŸ–²οΈ
  • on-click-right β€” typeof: string. command to execute when you right-click on the module. 🫱
  • on-update β€” typeof: string. command to execute when the module is updated. πŸ”„
  • menu β€” typeof: string. action that popups the menu. πŸ“‹
  • menu-file β€” typeof: string. location of the menu descriptor file. there needs to be an element of type
GtkMenu with id menu

(copy that exactly, bestie, don't freestyle it πŸ’€)

  • menu-actions β€” typeof: array. the actions corresponding to the buttons of the menu. πŸ”˜
  • expand β€” typeof: bool, default: false. enables this module to consume all left over space dynamically. she takes up space and she deserves it πŸ‘‘

πŸ’– FORMAT REPLACEMENTS πŸ’–

these are the little {} girlies you can drop into your formats πŸŽ€

  • {load} β€” the current CPU load estimated by JACK. πŸ“ˆ
  • {bufsize} β€” the size of the JACK buffer.
  • {samplerate} β€” the sample rate at which the JACK server is running.
  • {latency} β€” the duration, in ms, of the current buffer size.
  • {xruns} β€” the number of xruns reported by the JACK server since starting Waybar. πŸ’€

🌟 EXAMPLES 🌟

here's a little config moment, copy it exactly, no cap:

"jack": {
     "format": "DSP {}%",
     "format-xrun": "{xruns} xruns",
     "format-disconnected": "DSP off",
     "realtime": true
}

ate. no crumbs. πŸ”₯


πŸ¦‹ STYLE πŸ¦‹

these are the CSS selectors you can style, go off:

  • #jack
  • #jack.connected
  • #jack.disconnected
  • #jack.xrun

okay real talk bestie, this module is literally just a mirror for your JACK server and every single flag above is doing exactly what it says β€” no vibes-based guessing, we keep it factual around here πŸ’…

this has been your girl, signing off from the File Formats Manual, page dated 2026-02-08, and the manual name is waybar-jack(5) β€” so if you ever forget any of this, just run man waybar-jack and she'll be right there waiting for you 🫢✨

πŸ“¦ where this page comes from