aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
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).