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

hyprctl: add lastwindowclass to workspaces #9016

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

LivingIchor
Copy link

Describe your PR, what does it fix/add?

Just adds the field "lastwindowclass" to the out put of hyprctl workspaces

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

No

Is it ready for merging, or does it need work?

Yes

Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

useless. Query the window from hyprctl clients...?

@LivingIchor
Copy link
Author

While hyprctl clients can be used, I don't understand why there should be the misdirection of including lastwindowtitle in workspaces but not including the class.

@vaxerski
Copy link
Member

because we are trashing the output for no reason imo

@LivingIchor
Copy link
Author

The reason I was wanting the change was for getting the icon of the last focused window on all the separate workspaces, maybe I'm using the class wrong, but it seems to align with the app name. I was just confused as to why lastwindowclass wasn't included with hyprctl workspaces. But if you think adding it is too big a breaking change I can just keep self-aligning workspaces and clients output

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

Successfully merging this pull request may close these issues.

2 participants