Skip to content
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

App Icons for hyprland/window #2303

Merged
merged 5 commits into from
Jul 11, 2023
Merged

Conversation

Mr-Pine
Copy link
Contributor

@Mr-Pine Mr-Pine commented Jul 10, 2023

This PR introduces App Icons for the hyprland/window module (as requested in #1925)

Since this required almost no changes from the code for sway/window and I didn't want to duplicate the code, I introduces a new AAppIconLabel class which now both hyprland/window and sway/window inherit from. The sway implementation uses app_class if app_id is not set (appears to be the case if the window is running under xwayland) but I wasn't really able to find a suitable replacement for that with hyprland (app_id seems to correspond to hyprlands class though).
Tested on both hyprland and sway

@Alexays Alexays merged commit dffba78 into Alexays:master Jul 11, 2023
9 checks passed
@Alexays
Copy link
Owner

Alexays commented Jul 11, 2023

Nice!
Thanks :)

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

Successfully merging this pull request may close these issues.

None yet

2 participants