bunpen: dbus-proxy: document the --own flag

This commit is contained in:
2025-01-03 02:23:24 +00:00
parent e803a5959f
commit 0b9b9a8271

View File

@@ -37,6 +37,12 @@
// # remove either of the `--call` options, and it fails
// ```
//
// proof-of-concept OWN:
// ```sh
// $ xdg-dbus-proxy unix:path=/run/user/colin/dbus/bus /run/user/colin/dbus/proxy-1 --filter '--own=org.mpris.MediaPlayer2.playerctld' &
// $ DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/colin/dbus/proxy-1 playerctld
// ```
//
// EDGE-CASES / FAQ:
// - run `xdg-dbus-proxy` with `--log` argument to dump intercepted traffiic
// - without `--filter`, the proxy allows ALL traffic (useless!)