Skip to content

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

License

Notifications You must be signed in to change notification settings

morr0ne/pipfloat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, 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

cargo build --release

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

License

This project is licensed under the Apache-2.0 License. For more information, please see the 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.