mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-01 18:37:59 +02:00
examples: interactive.lua: add a shebang and update running instructions
This commit is contained in:
parent
e2d6e5b992
commit
e6112d7579
1 changed files with 5 additions and 4 deletions
9
tests/examples/interactive.lua
Normal file → Executable file
9
tests/examples/interactive.lua
Normal file → Executable file
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/wireplumber -e
|
||||
--
|
||||
-- WirePlumber
|
||||
--
|
||||
-- Copyright © 2021 Collabora Ltd.
|
||||
|
|
@ -8,10 +10,9 @@
|
|||
-- This is an example of an interactive script
|
||||
--
|
||||
-- Execute with:
|
||||
-- wireplumber -e /path/to/interactive.lua option1=value1 option2=value2 ...
|
||||
--
|
||||
-- Using an absolute path to the script is necessary, otherwise
|
||||
-- wireplumber will try to locate the script in $WIREPLUMBER_DATA_DIR/scripts
|
||||
-- wireplumber -e ./interactive.lua option1=value1 option2=value2 ...
|
||||
-- or:
|
||||
-- ./interactive.lua option1=value1 option2=value2
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
--
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue