From 9e43bfa22a40bd70b764c66f453465a708d3b7ef Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 20 Jan 2009 11:39:15 +0100 Subject: update --- screen-locker.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'screen-locker.sh') diff --git a/screen-locker.sh b/screen-locker.sh index 68b587c..f14bd91 100755 --- a/screen-locker.sh +++ b/screen-locker.sh @@ -1,3 +1,12 @@ #!/bin/sh -slock & -(sleep 0.5 && swarp 0 0) & \ No newline at end of file +lock () { + gajim-remote change_status away & + slock +} + +unlock () { + gajim-remote change_status online & +} + +(lock && unlock) & +(sleep 0.5 && swarp 0 0) & -- cgit v1.2.3-24-g4f1b