From c7c4d5a5520c4e9b8df793d661398b15b5f1b790 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 4 Mar 2009 17:03:25 +0100 Subject: autoafk irssi if screen is locked --- screen-locker.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'screen-locker.sh') diff --git a/screen-locker.sh b/screen-locker.sh index b02b584..7184c47 100755 --- a/screen-locker.sh +++ b/screen-locker.sh @@ -14,11 +14,13 @@ lock () { gajim-remote change_status away & + ssh mistral 'python ~/irssi.py 1' slock } unlock () { gajim-remote change_status online & + ssh mistral 'python ~/irssi.py 0' } (lock && unlock) & -- cgit v1.2.3-24-g4f1b