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
- Host: GitHub
- URL: https://github.com/morr0ne/pipfloat
- Owner: morr0ne
- License: apache-2.0
- Created: 2023-08-11T18:44:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-22T14:50:16.000Z (11 months ago)
- Last Synced: 2025-03-02T00:28:14.822Z (10 months ago)
- Topics: firefox, hyprland, hyprland-config, hyprland-ipc
- Language: Rust
- Homepage:
- Size: 31.3 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.