A terrible spaghetti code that checks if a windows title is "Picture-in-Picture" and makes it float if it isn't already floating.
The code is pretty bad, there is no error checking at all, it's using an uncomplete and unofficial library, there is no logging of any kind and overall its very much not flexible.
I will not put any more effort than this since it'd be better spent in making hyprland have support for dynamic title out of the box.
Download the latest release here, simply copy it to your PATH and add it to your hyprland config like so:
exec-once = pipfloat
If for some reason you want to compile it yourself simply install the rust compiler, clone the repo and run
cargo build --release
The resulting binary can be found at target/release/pipfloat
This project is licensed under the Apache-2.0 License. For more information, please see the LICENSE file.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.