An open API service indexing awesome lists of open source software.

https://github.com/morr0ne/pipfloat

🪟 Force Firefox Picture-in-Picture windows to always float under hyprland
https://github.com/morr0ne/pipfloat

firefox hyprland hyprland-config hyprland-ipc

Last synced: 10 months ago
JSON representation

🪟 Force Firefox Picture-in-Picture windows to always float under hyprland

Awesome Lists containing this project

README

          

# pipfloat - Make your pip... float

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.

### Usage

Download the latest release
[here](https://github.com/morr0ne/pipfloat/releases/latest/download/pipfloat),
simply copy it to your PATH and add it to your hyprland config like so:

```
exec-once = pipfloat
```

### Compiling

If for some reason you want to compile it yourself simply install the rust
compiler, clone the repo and run

```bash
cargo build --release
```

The resulting binary can be found at `target/release/pipfloat`

## License

This project is licensed under the
[Apache-2.0 License](http://www.apache.org/licenses/LICENSE-2.0). For more
information, please see the [LICENSE](LICENSE) file.

### Contribution

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.