waybar-image(5)

πŸ’– waybar-image β€” the manual page, bestie edition πŸ’–

okay so this is the waybar-image(5) page, from the File Formats Manual, and it's literally about making waybar show a lil picture. iconic. πŸ–ΌοΈβœ¨


🌸 NAME 🌸

waybar image module β€” bestie, it displays an image. from a path. that's it, that's the job. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

The image module displays an image from a path. no cap, that's the whole concept. it's giving "picture in your bar." πŸ’…


πŸ’œ CONFIGURATION πŸ’œ

every single knob, in order, no skipping (i would never):

  • path β€” typeof: string. The path to the image. that's the file it's gonna show, obviously. πŸ“
  • exec β€” typeof: string. The path to the script, which should return image path file. It will only execute if the path is not set. so like, either/or queen. πŸ™ˆ
  • size β€” typeof: integer. The width/height to render the image. square energy, fr fr. πŸ“
  • interval β€” typeof: integer or float. The interval (in seconds) to re-render the image. Minimum value is 0.001 (1ms). Values smaller than 1ms will be set to 1ms. This is useful if the contents of path changes. If no interval is defined, the image will only be rendered once. one and done, no notes. ✨
  • signal β€” typeof: integer. The signal number used to update the module. This can be used instead of interval if the file changes irregularly. The number is valid between 1 and N, where SIGRTMIN+N = SIGRTMAX. very specific, very demure. πŸ”₯
  • 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-update β€” typeof: string. Command to execute when the module is updated. πŸ”„
  • on-scroll-up β€” typeof: string. Command to execute when scrolling up on the module. ⬆️
  • on-scroll-down β€” typeof: string. Command to execute when scrolling down on the module. ⬇️
  • smooth-scrolling-threshold β€” typeof: double. Threshold to be used when scrolling. 🧚
  • tooltip β€” typeof: bool, default: true. Option to enable tooltip on hover. so it whispers at you when you hover. πŸ’¬
  • expand β€” typeof: bool, default: false. Enables this module to consume all left over space dynamically. main character taking up the whole room, honestly. πŸ‘‘

✨ SCRIPT OUTPUT ✨

Similar to the custom module, output values of the script are newline separated. The following is the output format:

$path\n$tooltip

so: image path first, tooltip after, newline between them. keep it exact bestie, don't freestyle. 🫢


🌈 EXAMPLES 🌈

here's the vibe, copy-paste ready:

"image#album-art": {
     "path": "/tmp/mpd_art",
     "size": 32,
     "interval": 5,
     "on-click": "mpc toggle"
}

album art that also toggles your music when you tap it?? we love a multitasking king. πŸŽ΅πŸ’–


πŸŽ€ STYLE πŸŽ€

  • #image
  • #image.empty

those are the two selectors, go wild styling them. πŸ’…


heads up bestie: exec only runs when path isn't set, and interval values under 1ms get bumped up to 1ms whether you like it or not. 🫠

and that's the whole page, fr fr. this was waybar-image(5) from the File Formats Manual, and the bottom of the original says 2026-02-08 β€” so like, dated 2026-02-08, which is very ✨futuristic✨ of it. periodt. πŸ’–πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from