| Crates.io | hypr-window-rules |
| lib.rs | hypr-window-rules |
| version | 0.1.0 |
| created_at | 2025-03-07 23:28:40.660301+00 |
| updated_at | 2025-03-07 23:28:40.660301+00 |
| description | A simple tool to generate windowrulev2 out of YAML file |
| homepage | https://github.com/khalid151/hypr-window-rules |
| repository | https://github.com/khalid151/hypr-window-rules |
| max_upload_size | |
| id | 1583815 |
| size | 19,115 |
A simple tool to generate windowrulev2 out of a YAML file, and have some properties apply on title change.
This tool simply prints the generated windowrulev2 to stdout, so to have Hyprland make use of it, save the output to a file and source it.
As for rules with follow-title, hyprwrules will keep running to apply the set properties.
$ hyprwrules example.yaml > ~/.config/hypr/rules.conf
And in Hyprland's config
source=~/.config/hypr/rules.conf
Hyprland doesn't support applying properties when title changes by default, but it can be scripted.
This tool can apply some of those properties when the title matches. Both class and title has to be set, and follow-title set to true.
Available properties: