aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorjamie <git@skilet.ro>2026-08-29 22:19:28 +0100
committerjamie <git@skilet.ro>2026-08-29 22:19:28 +0100
commit4e11e4f14898e1b47b538174d8e7db8fd69a4e42 (patch)
tree6126749e997185dc3de14c513d39f80aec31e18d /README.md
parent23da9a81fd992d9f58986e7c2fae27e387e26c61 (diff)
chore: rename main binary to mmx150d and set default-run
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index e933f1a..5cc8951 100644
--- a/README.md
+++ b/README.md
@@ -9,19 +9,19 @@ speakers as the headset powers on and off.
## Usage
- mmx150 status
+ mmx150d status
Prints `connected` or `disconnected`. Exit codes: 0 connected, 1
disconnected, 2 dongle missing or error.
- mmx150 daemon [--on-connect CMD] [--on-disconnect CMD] [--interval SECS] [--no-initial]
+ mmx150d daemon [--on-connect CMD] [--on-disconnect CMD] [--interval SECS] [--no-initial]
Hooks run via `sh -c` with output discarded. At startup the daemon fires the
hook matching the current state, unless `--no-initial` is given.
Example, switching the default sink with PipeWire:
- mmx150 daemon \
+ mmx150d daemon \
--on-connect 'wpctl set-default <mmx150-sink-id>' \
--on-disconnect 'wpctl set-default <speakers-sink-id>'
@@ -45,5 +45,5 @@ Development uses devenv:
devenv shell cargo build
devenv shell cargo test
-The binaries land at `target/debug/mmx150` (status and daemon) and
+The binaries land at `target/debug/mmx150d` (status and daemon) and
`target/debug/mmx150-probe` (protocol reverse-engineering tool).