Repository navigation
Add WaylandAppInfoProvider for wlroots-based compositors (sway, Hyprland, labwc, wayfire, etc.) - #2731
Merged
Conversation
Contributor
Author
|
if wlrctl exposed the PID, we could resolve exec via readlink /proc//exe, which would enable filter_exec (exactly what the Niri and KDE providers do). Without it, only filter_class and filter_title work. That said, the underlying wlr-foreign-toplevel-management Wayland protocol doesn't include PID information either, so wlrctl can't really expose what the protocol doesn't provide. It would require compositor-side extensions or a different protocol to get PIDs. For most users filter_class (app_id) is sufficient — it's the primary way people write per-app configs. So this is a reasonable first implementation, and PID support could be added later if a mechanism becomes available. |
…, etc.) Signed-off-by: Pablo Fernández Rodríguez <[email protected]> Co-Authored-By: Claude Opus 4.6 <[email protected]>
pafernanr
force-pushed
the
Add-WaylandAppInfoProvider-for-wlroots-based-compositors-(labwc,-sway,-etc.)
branch
from
July 14, 2026 11:49
776c620 to
9a78686
Compare
…compositors-(labwc,-sway,-etc.)
AucaCoyan
added a commit
to Zettt/espanso
that referenced
this pull request
Jul 19, 2026
…and, labwc, wayfire, etc.) (espanso#2731) * Add WaylandAppInfoProvider for wlroots-based compositors (labwc, sway, etc.) Signed-off-by: Pablo Fernández Rodríguez <[email protected]> Co-Authored-By: Claude Opus 4.6 <[email protected]> --------- Signed-off-by: Pablo Fernández Rodríguez <[email protected]> Co-authored-by: Claude Opus 4.6 <[email protected]> Co-authored-by: Auca Maillot <[email protected]>
pafernanr
deleted the
Add-WaylandAppInfoProvider-for-wlroots-based-compositors-(labwc,-sway,-etc.)
branch
July 24, 2026 13:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes: #2730