← Back to TIL

Find window classes in Hyprland with hyprctl clients

Need the class name for a window rule? Dump all open windows:

hyprctl clients

This outputs class, title, workspace, PID, and more for every window. For example, the Claude PWA shows up as:

class: chrome-claude.ai__-Default

Which you can then target in a window rule:

windowrule = workspace 3 silent, match:class ^(chrome-claude.ai__-Default)$
HomePortfolioBlogTILUses