0.53 Window/Layerrule converter

In case people going over to 0.53.0 missed it, there’s a new syntax for window and layer rules.
So i made a converter.
And now no one can complain that i didn’t advertise it.

11 Likes

Thanks! I wanted to put it in the news post but couldn’t find it. :P

Fwiw we could pin this for the time being

sure, can do that :)

Thank you, it was really helpful.

Yeah, noticed that to late. I created a vim macro instead

Thank it saved my night

Thanks. It’d be great if hyprland offered autoconversion natively tho!

I disagree. Our policy is that Hyprland should never touch your config other than to read it. It’s your config.

1 Like

Thank you so much! It worked perfectly.

I used this (i think correctly) and it fixed the windowrules but idk how I’m meant to fox my opacity bind because it doesn’t work. I’m using the JaKooLit dotfiles and my current bind is:

bind = $mainmod CTRL, O, exec, hyprctl setprop active alphaoverride toggle

This was generated by Gemini because the wiki confused me but idk how to fix it. Please help.

hyprctl dispatch setprop active opaque toggle

you could have it read the window/layer rules from the config, modify them in a buffer and output it to stdout only, and only the rules part. let the user decide what to do with it

Thanks for saving my time!