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

Add tip about hprctl activewindow #202

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

Schievel1
Copy link

@Schievel1 Schievel1 commented Apr 27, 2023

People have some trouble figuring this out it seems. Since the known tools from X are not working anymore.

@vaxerski
Copy link
Member

why not just recommend hyprctl clients?

@Schievel1
Copy link
Author

why not just recommend hyprctl clients?

You're right, I will reword this a bit to mention that as well. If you have many windows open hyprctl clients can become a bit convoluted.

# How do I get information about windows like the class on wayland? xprop no worky.

Hyprctl can list available information about all open windows with the command `hyprctl clients`.
To list only information about a single selected windows, Hyprctl has the command `hyprctl activewindow`. This will output information about the currently active window, which is probably your terminal emulator. You can get informationen from other windows by issueing this command in the shell `sleep 5 && hyprctl activewindow`, focusing the window you want info about and waiting until the five seconds are over.
Copy link
Member

Choose a reason for hiding this comment

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

single selected windows -> single selected window
informationen hier, wir sprechen englisch
issueing -> issuing
this command in the shell -> issuing <command> in the shell

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.

2 participants