filterway

Crates.iofilterway
lib.rsfilterway
version0.1.0
sourcesrc
created_at2024-05-04 15:13:42.563467
updated_at2024-05-04 15:13:42.563467
descriptionFilter/modify Wayland messages from clients
homepage
repositoryhttps://github.com/andrewbaxter/filterway
max_upload_size
id1229654
size60,599
Andrew Baxter (andrewbaxter)

documentation

README

Filterway

is a lightweight Wayland socket proxy that intercepts messages and filters/modifies them. You can use it for, for example, making all applications in a container have the same app_id (apply certain window decorations in certain containers).

Current features:

  • Force app_id - assign all toplevels the same app_id and suppress client-originated set_app_id requests
  • Dump wayland protocol traffic

How to use it

Your main compositor will have created something like /run/user/1000/wayland-0 where 1000 is your user ID.

  1. Build filterway with cargo build
  2. Run filterway /run/user/1000/wayland-0 /run/user/1000/wayland-filtered org.example.testid
  3. Run Wayland applications or another compositor with WAYLAND_DISPLAY=wayland-filtered
Commit count: 3

cargo fmt