Bar.qml: clicking the logo pill now toggles bar.taskbarMode, which swaps
the normal bar content (workspace pills, title, stats/tray/network/volume
pills, window-switcher button) for a compact taskbar of open-window
buttons. Clock and power button stay visible in both modes.
Taskbar buttons are icon-only (32px), resolved via Quickshell's own
DesktopEntries.heuristicLookup(class) + Quickshell.iconPath(), the same
mechanism app launchers use, with the window class read from
lastIpcObject (the raw hyprctl JSON each toplevel carries). Falls back to
the window title's first letter when no icon is found. Hovering a button
shows the full title as a small popup window - the bar is a fixed-size
Wayland layer surface, so a plain overflowing Rectangle gets clipped;
this follows the same PanelWindow-per-LazyLoader pattern already used for
the clock tooltip.
Windows are sorted by address (not the live Hyprland.toplevels order,
which can silently reorder on focus changes) so buttons keep a stable
slot instead of jumping around.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94