diff options
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) & |