DBAR(1)

πŸ’– DBAR β€” dzen2-dbar πŸ’–

okay bestie, buckle up, we're talking about dzen2-dbar β€” it's a lil gadget you pair up with dzen to show a progress bar, and honestly? it's giving main character energy for something so tiny. πŸŽ€


✨ NAME ✨

dzen2-dbar β€” a simple gadget that you can use in combination with dzen to display a progressbar. that's it. that's the whole vibe. 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

dzen2-dbar [-w characters] [-s symbol] [-min minvalue] [-max maxvalue]
       [-l string] [-nonl]

πŸ’… DESCRIPTION πŸ’…

so dbar is this application that generates semi graphical progress meters, from some values you supply to it. you feed it numbers, it feeds you bars. no cap. ✨

and if you're sitting there like "but what input format tho 😭" β€” check the usage examples, they spell it out for you. iykyk.


🌈 OPTIONS 🌈

here's the whole rundown of options, all of them, no skipping, periodt:

  • -max β€” the value that gets treated as 100% (default: 100)
  • -min β€” the value that gets treated as 0% (default: 0)
  • -w β€” how many characters count as 100% in the bar (default: 25 ) β€” yes the original says "charcaters", we love a typo icon πŸ’€
  • -s β€” the symbol that represents the percentage value in the bar (default: = )
  • -l β€” a label to be prepended to the bar (default: '' )
  • -nonl β€” no new line, so don't put '\0' at the end of the bar (default: do print '\0')

πŸ“ USAGE EXAMPLES πŸ“

static 0% and 100% mark, or single value input

Command:

echo 25 | dzen2-dbar -m 100 -l Sometext

Output:

Sometext  25% [======                   ]

when your 100% mark changes dynamically, or 2-values input

Command:

echo "50 150" | dzen2-dbar

Output:

33% [========                 ]

when your value range is not between [0, maxval], or 3-values input

Command:

echo "50 -25 150" | dzen2-dbar

Output:

43% [===========              ]

πŸ‘‘ AUTHOR πŸ‘‘

Dbar was written by Robert Manea. 🫢

This manual page was written by bertagaz <bertagaz@ptitcanardnoir.org>, for the Debian project (but may be used by others). slay.


πŸ”₯ SEE ALSO πŸ”₯

dzen2(1), dzen2-gcpubar(1), dzen2-gdbar(1), and dzen2-textwidth(1). go read those next, bestie, they're iconic too πŸ’œ


and that's the whole page, fr fr. this was the General Commands Manual entry for DBAR(1), dated Jan 01 2008. mwah πŸ’…βœ¨