1 unstable release
0.1.0 | May 4, 2024 |
---|
#33 in #force
29KB
526 lines
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 sameapp_id
and suppress client-originatedset_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.
- Build
filterway
withcargo build
- Run
filterway /run/user/1000/wayland-0 /run/user/1000/wayland-filtered org.example.testid
- Run Wayland applications or another compositor with
WAYLAND_DISPLAY=wayland-filtered
Dependencies
~11–22MB
~325K SLoC