summaryrefslogtreecommitdiff
path: root/packages/scripts/resources/bin/telepath-setpresence.sh
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-02-27 15:58:12 +0100
committerYves Fischer <yvesf-git@xapek.org>2016-02-27 15:58:12 +0100
commita307e0474e78c51590aeac95dbc5587a87ef6501 (patch)
treec5c7ca86b0b86704a4c1adc588e7ce249826e98f /packages/scripts/resources/bin/telepath-setpresence.sh
parent77955935e9549a847ae7e0d78819f090d429fdb6 (diff)
downloaddebian-packages-a307e0474e78c51590aeac95dbc5587a87ef6501.tar.gz
debian-packages-a307e0474e78c51590aeac95dbc5587a87ef6501.zip
refactor scripts packages
Diffstat (limited to 'packages/scripts/resources/bin/telepath-setpresence.sh')
-rwxr-xr-xpackages/scripts/resources/bin/telepath-setpresence.sh6
1 files changed, 6 insertions, 0 deletions
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" ""