Skip to content

[wlr/taskbar]: Fallback to window title for icon matching when app_id has no desktop entry #4041

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
clemenscodes opened this issue Apr 10, 2025 · 0 comments · Fixed by #4042

Comments

@clemenscodes
Copy link
Contributor

Description:

When a window's app_id doesn't correspond to a known desktop entry, Waybar renders a fallback icon. This commonly occurs with applications running via Wine or Steam. For example, when launching games through Lutris, I often encounter multiple windows with the same app_id, such as steam_app_default or steam_app_0.

Since these windows share identical app_ids but have distinct titles, it becomes difficult to distinguish them or apply specific icons. If Waybar could optionally fall back to using the window title to search for matching desktop entries, it would enable better differentiation and customization—especially for games or Wine-based applications.

Feature Request:

Consider implementing a fallback mechanism that uses the window title to search for .desktop entries when the app_id yields no result. This would greatly enhance icon accuracy and user customization in scenarios involving Steam, Lutris, and Wine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant