Alexays / Waybar

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

Group icons in wlr-taskbar for windows in a container #1043

Open Iss-in opened 3 years ago

Iss-in commented 3 years ago

Feature request : Group the icons ( adjacent to each other ) in wlr-taskbar for windows in a single container

For those using the wlr-taskbar module with icons only, this feature will make switching focus a lot handy and practical.

I will really like to see something close to this getting implemented

A rather simpler alternative will be to allow manually adjust icon position using mouse button drag

phi-mah commented 3 years ago

I would second this. In particular, it would be nice to identify the windows living on the scratchpad. This would remind me that I will not find these by cycling through my workspaces (Thus, kind of related to #1034).

I did some research on this, and as far as I understood these things it might be difficult to achieve: The taskbar module solely relies on the the wlr-foreign-toplevel-management-unstable-v1 protocol, which does not know the particular sway window properties.

By contrast, e.g. the sway module uses ipc to connect to the running sway instance. Feature requests like this would imply to pull in information from there also in the taskbar module and as such sacrificing generality...