Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.12k stars 680 forks source link

Progress Bars [Feature Request] #1282

Open zonotope opened 2 years ago

zonotope commented 2 years ago

Is it possible to add progress bars for situations involving percentages instead of using just the raw number, like it's possible in Polybar. That way we could have quasi-graphical representations of things like cpu load or disk space used instead relying on reading percentage numbers in each case.

 cpu: ━━━────── 
rubdos commented 1 year ago

Some visual that would be very nice to have, would be to display progress in the border-bottom:

image

For something like a music player, it could display the position in the song, making (for me) the indication (00:13/03:33) obsolete.

Jerry8538 commented 5 months ago

Since certain modules have an icon view, you can do something along these lines:

"cpu": {
    "format": "cpu {icon}",
    "format-icons": [
        "#:::::::::",
        "##::::::::",
        ...
        "##########"
    ]
}

image

However, certain modules don't have an icon view at all, like the disk module... A progress bar in the bottom border would be great too.

Blackilykat commented 1 month ago

Some visual that would be very nice to have, would be to display progress in the border-bottom:

image

For something like a music player, it could display the position in the song, making (for me) the indication (00:13/03:33) obsolete.

Check out #3410