From a307e0474e78c51590aeac95dbc5587a87ef6501 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sat, 27 Feb 2016 15:58:12 +0100 Subject: refactor scripts packages --- packages/scripts/resources/bin/telepath-setpresence.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 packages/scripts/resources/bin/telepath-setpresence.sh (limited to 'packages/scripts/resources/bin/telepath-setpresence.sh') diff --git a/packages/scripts/resources/bin/telepath-setpresence.sh b/packages/scripts/resources/bin/telepath-setpresence.sh new file mode 100755 index 0000000..5187bb6 --- /dev/null +++ b/packages/scripts/resources/bin/telepath-setpresence.sh @@ -0,0 +1,6 @@ +#!/bin/sh +# $1 can be 'available' or 'busy' or ? +qdbus org.freedesktop.Telepathy.Connection.haze.sipe.yves_2efischer_40cern_2ech_2cyfischer \ + /org/freedesktop/Telepathy/Connection/haze/sipe/yves_2efischer_40cern_2ech_2cyfischer \ + org.freedesktop.Telepathy.Connection.Interface.SimplePresence.SetPresence \ + "$1" "" -- cgit v1.2.1