Open
Description
Hello, I'm a big fan of this flake and I've been using it for 6+ months now! Thanks for the great work 💯
Currently, it seems that only the class
and title
Window Rule fields are supported when defining rules via config.windowRules
. This makes it impossible to define rules based on the other fields supported by the rule system (e.g.: workspace-specific rules).
Window rule fields missing from config.windowRules
Per the wiki:
- workspace (name/id)
- onworkspace (integer)
- initialClass (regex)
- initialTitle (regex)
- floating (boolean)
- focus (boolean)
- fullscreen (boolean)
- pinned (boolean)
- xwayland (boolean)
Workaround
windowrulev2
lines can be manually added to the Hyprland config via config.extraConfig
:
extraConfig = ''
windowrulev2 = workspace special:spotify2 silent,title:Spotify Premium
windowrulev2 = opacity 0.85 0.66,workspace:name:special:scratch
windowrulev2 = noshadow,workspace:name:special:scratch
windowrulev2 = float,workspace:name:special:scratch
'';
Metadata
Assignees
Labels
No labels
Activity