Alexays / Waybar

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

wlr/workspaces: wlr/taskbar: group taskbar buttons under workspaces [sway] [hyprland] #2656

Open BrianCArnold opened 8 months ago

BrianCArnold commented 8 months ago

Note: The feature I'm kind of talking about here would be kind of a combination of taskbar and workspaces.

Given the following workspaces and windows: image

This is how my workspaces and taskbar show up in my waybar:

Which makes it difficult to see how I have things organized.

It would be nice to have a unified module that presents that information in a somewhat hierarchical nature, either like this:

1
Window A
Window B
2
Window M
Window N
3
Window Y
Window Z

Or

image

Vaisakhkm2625 commented 7 months ago

1700672020_grim

i am also looking for this exact functionality, and this is actually possible with "hyprland/workspaces", the biggest issue is, hyprland/workspaces don't set icons automatically and we have to set icons for each applications according to classname.... which sucks...

NikkSaan commented 7 months ago

nwg-panel supports this... I've tried it, and it's truly a better UX! I would also include the ability to drag and drop icons to enable moving windows between workspaces using the mouse only...

ps. Very nice presentation of the feature OP!

jgregoire commented 4 months ago

I really only want to see windows in the taskbar for the currently active workspace.

WammKD commented 3 months ago

Would like to, also, second this; I used to use this with tint2 all the time.

Screenshot from 2022-03-08 17-02-23 (only screenshot I could find from before I switched to Wayland though some more icons would help make it clearer what's going on here…)

I have 4 workspaces and I'm on the second one; the first workspace has three processes open while the second (and active) one only has one process (a Thunar instance) and the third and fourth workspaces are empty. The active workspace gets underlined with the white line, at the bottom, so I could tell which workspace I was in. Obviously, people could style things differently than I had decided to but I think it's, possibly, another illustration that gets at what @BrianCArnold's describing.