]> Sergey Matveev's repositories - vors.git/blobdiff - doc/usage.texi
Tarballs
[vors.git] / doc / usage.texi
index 84e566096e2626bf47a51dcf83fdbdac2dacca8d713f9e67ab6dd8caee9db3bc..c4c12c141f5818b6f1c3b5bb8e5ddb988997ccaf395859ac9557cf79195628b8 100644 (file)
@@ -37,6 +37,25 @@ $ vors-client -srv "[2001:db8::1]:12978" -pub $pub -name NAME
 
 @item
     @option{-room} allows you to join non-root room.
-    @option{-passwd} allows you to protect with provided password.
+    @option{-passwd} allows you protecting it with provided password.
+
+@item
+    @option{-mute-toggle} allows you to toggle mute by external
+    utilities. For example you can use suckless minimalistic
+    @url{https://github.com/baskerville/sxhkd, sxhkd} daemon to capture
+    X11 key events and execute commands:
+
+@example
+$ mkfifo /tmp/vors-mute-toggle.fifo
+$ cat >sxhkd.cfg <<EOF
+XF86AudioMute
+    herbe $(cat /tmp/vors-mute-toggle.fifo)
+EOF
+$ [run sxhkd]
+$ vors-client [...] -mute-toggle /tmp/vors-mute-toggle.fifo
+@end example
+
+    That will toggle mute on "audio mute" event and print its current
+    state as a @url{https://github.com/dudik/herbe, herbe} notification.
 
 @end itemize