Taskbar icons only resolved for windows already open when Quickshell
started - anything opened afterward fell back to the letter placeholder.
lastIpcObject (Hyprland's IPC JSON snapshot) apparently lags or stays
stale for windows opened after Quickshell is already running.
Switched to preferring the Wayland toplevel handle's appId, which the
compositor sets immediately on window creation, with lastIpcObject.class
kept as a fallback. Fixes the common case (opening a window after
Quickshell is running); pre-existing windows at Quickshell startup can
still miss their icon due to a startup enumeration race between
Quickshell and the Wayland toplevel-management protocol - acceptable
since that's not really a real-world scenario.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94