diff options
author | Florian Pritz <f-p@gmx.at> | 2009-01-20 11:39:15 +0100 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2009-01-20 11:39:15 +0100 |
commit | 9e43bfa22a40bd70b764c66f453465a708d3b7ef (patch) | |
tree | 479c6eb6f768674b2c2f61fec1ce8496158b9c23 /screen-locker.sh | |
parent | 1b1859915c8a6d8ab0f8d1f3b4439eaef2d2a272 (diff) | |
download | bin-9e43bfa22a40bd70b764c66f453465a708d3b7ef.tar.gz bin-9e43bfa22a40bd70b764c66f453465a708d3b7ef.tar.xz |
update
Diffstat (limited to 'screen-locker.sh')
-rwxr-xr-x | screen-locker.sh | 13 |
1 files changed, 11 insertions, 2 deletions
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) & |