Omarchy

How-To: See Every Window and Workspace on Hyprland or Omarchy With hyprctl

Leave a comment

Today’s hypruse news, an agent tool that parks apps on workspaces 90 to 99, reminded me how handy hyprctl is for seeing what’s really on your desktop. Everything here is read-only except the last step.

1. List your workspaces

hyprctl workspaces

Shows each workspace, which monitor it’s on and how many windows it holds. Great for finding the stray workspace you forgot about.

2. List every window, compactly

hyprctl clients -j | jq -r '.[] | "\(.workspace.id)\t\(.class)\t\(.title)"' | sort -n

One line per window: workspace, app class and title. If you’re testing an agent with computer use, this is how you confirm what it opened and where.

3. What’s focused, and on which monitor?

hyprctl activewindow
hyprctl monitors

4. Move a window without following it

hyprctl dispatch movetoworkspacesilent "9,class:^(chromium)$"

movetoworkspacesilent sends the window over but leaves you where you are. Swap in the class you saw in step 2.

I keep step 2 as a shell alias. It’s the fastest “what is all this stuff?” button I have.

God Bless, and May the Source Be with You!

References & Further Reading

Subscribe (RSS) Follow How-Tos via RSS

Leave a note

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.