summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2015-03-04 17:11:37 +0100
committerjao <jao@gnu.org>2015-03-04 17:11:37 +0100
commit82808e1e44240956df73f291d8b2ee13a5404487 (patch)
treeb8d824929ae0a5f6e396341d57f26efe7e97b64c
parent2e89e3c781d2ae3d7c395f3d025585130fa87239 (diff)
downloadxmobar-82808e1e44240956df73f291d8b2ee13a5404487.tar.gz
xmobar-82808e1e44240956df73f291d8b2ee13a5404487.tar.bz2
DBus signals documentation update
-rw-r--r--readme.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/readme.md b/readme.md
index 30b810a..7597e13 100644
--- a/readme.md
+++ b/readme.md
@@ -427,13 +427,17 @@ An example using the `dbus-send` command line utility:
--print-reply \
'/org/Xmobar/Control' \
org.Xmobar.Control.SendSignal \
- "string:Toggle"
+ "string:Toggle 0"
It is also possible to send multiple signals at once:
# send to another screen, reveal and toggle the persistent flag
dbus-send [..] \
- "string:ChangeScreen" "string:Reveal 0" "string:TogglePersistent"
+ "string:ChangeScreen 0" "string:Reveal 0" "string:TogglePersistent"
+
+The `Toggle`, `Reveal`, and `Hide` signals take an additional integer
+argument that denotes an initial delay, in tenths of a second, before
+the command takes effect.
### Example for using the DBus IPC interface with XMonad