dobu/assets/wl-mitm-config.toml
2025-03-15 15:50:50 -04:00

46 lines
1.1 KiB
TOML

[socket]
listen = "/xdg_runtime/wayland-10"
upstream = "/xdg_runtime/wayland-0"
[exec]
notify_cmd = "/usr/bin/notify-libnotify.sh"
[filter]
allowed_globals = [
"wl_compositor",
"wl_subcompositor",
"wl_shm",
"wl_data_device_manager",
"wl_output",
"wl_seat",
"xdg_wm_base",
"zxdg_decoration_manager_v1",
"wp_presentation",
"wp_viewporter",
"zwp_linux_dmabuf_v1",
"wl_drm",
"wp_drm_lease_device_v1",
"wp_linux_drm_syncobj_manager_v1",
"zxdg_output_manager_v1",
"zwp_pointer_constraints_v1",
"zwp_xwayland_keyboard_grab_manager_v1",
"zwp_relative_pointer_manager_v1",
]
[[filter.requests]]
interface = "wl_data_offer"
requests = [ "receive" ]
action = "notify"
desc = "pasted from clipboard or accepted drag and drop"
[[filter.requests]]
interface = "zwp_pointer_constraints_v1"
requests = [ "lock_pointer", "confine_pointer" ]
action = "notify"
desc = "captured mouse pointer"
[[filter.requests]]
interface = "zwp_xwayland_keyboard_grab_manager_v1"
requests = [ "grab_keyboard" ]
action = "notify"
desc = "grabbed keyboard"