From 82808e1e44240956df73f291d8b2ee13a5404487 Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 4 Mar 2015 17:11:37 +0100 Subject: DBus signals documentation update --- readme.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'readme.md') 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 -- cgit v1.2.3