- rust
- A wlroots compatible compositor
- Probably some wayland related header packages that I forgot about
- Clone the repo
cargo build --release- Sym-link the executable at
./target/release/hyprland-window-ruleto some directory in your$PATH(e.g. `~/bin/)
- Add
source = window-rules/*somewhere in your hyprland config file so that the rules you generate actually get used
This is very unfinished so right now you can only generate a rule to make a window float based on its initial title.
hyprland-window-rule generate --float --select-by title --select-by initial-class- Select a window with you mouse cursor
The window selection boxes appear lower than they should because the desktop status bar's effect on this program's surface positions isn't taken into account when calculating where to draw stuff.