summaryrefslogtreecommitdiffstats
path: root/screen-locker.sh
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-03-04 17:03:25 +0100
committerFlorian Pritz <f-p@gmx.at>2009-03-04 17:03:25 +0100
commitc7c4d5a5520c4e9b8df793d661398b15b5f1b790 (patch)
tree74604b111990836255d0238e8ee554ffc5b5d063 /screen-locker.sh
parent23eb46d22009a63fcda83d39aa7803e416fbc6bc (diff)
downloadbin-c7c4d5a5520c4e9b8df793d661398b15b5f1b790.tar.gz
bin-c7c4d5a5520c4e9b8df793d661398b15b5f1b790.tar.xz
autoafk irssi if screen is locked
Diffstat (limited to 'screen-locker.sh')
-rwxr-xr-xscreen-locker.sh2
1 files changed, 2 insertions, 0 deletions
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) &