]> git.phdru.name Git - IM.git/commitdiff
Add scripts to handle start and end skype calls
authorOleg Broytman <phd@phdru.name>
Tue, 30 May 2017 14:46:20 +0000 (17:46 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 30 May 2017 14:46:20 +0000 (17:46 +0300)
Set status, kill/restart screen saver.

skype-scripts/end-call [new file with mode: 0755]
skype-scripts/start-call [new file with mode: 0755]

diff --git a/skype-scripts/end-call b/skype-scripts/end-call
new file mode 100755 (executable)
index 0000000..7095fef
--- /dev/null
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+PATH="`dirname \"$0\"`"/..:$PATH
+im-online
+
+cd "$HOME"
+xset +dpms s on
+xscreensaver &
diff --git a/skype-scripts/start-call b/skype-scripts/start-call
new file mode 100755 (executable)
index 0000000..60cfdfd
--- /dev/null
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+PATH="`dirname \"$0\"`"/..:$PATH
+im-phone
+
+(xscreensaver-command -exit
+xset -dpms s off) &