summaryrefslogtreecommitdiff
path: root/Que/quescripts.md
diff options
context:
space:
mode:
Diffstat (limited to 'Que/quescripts.md')
-rw-r--r--Que/quescripts.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/Que/quescripts.md b/Que/quescripts.md
index 9a2e6e0..77e7004 100644
--- a/Que/quescripts.md
+++ b/Que/quescripts.md
@@ -10,7 +10,7 @@ the job finishes.
In one terminal run the listener:
- que pub/notify --then "notify-send '\que' '\msg'"
+ que pub/notify --then "notify-send '{que}' '{msg}'"
In some other terminal run the job that takes forever:
@@ -23,9 +23,9 @@ Linux with title "`pub/notify`" and content "`tests are done`".
Que paths are multi-producer and multi-consumer, so you can add as many
terminals as you want.
-On macOS you could use:
+On macOS you could use something like this (just watch your quotes):
- osascript -e 'display notification "\msg" with title "\que"'
+ osascript -e "display notification \"{msg}\" with title \"{que}\""
in place of notify-send.
@@ -39,7 +39,7 @@ It's surprisingly easy to make a collaborative jukebox.
First start up a music player:
- que --poll pub/music --then "playsong '\msg'"
+ que --poll pub/music --then "playsong '{msg}'"
where `playsong` is a script that plays a file from data streaming to
`stdin`. For example [vlc](https://www.videolan.org/vlc/) does this when