From 6605810da359b36f22ae3ee3f0a4ffa9eb1aa33d Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 21 Dec 2010 20:57:09 +0100 Subject: misc changes Signed-off-by: Florian Pritz --- screen-locker.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'screen-locker.sh') diff --git a/screen-locker.sh b/screen-locker.sh index 96c0965..b5ec254 100755 --- a/screen-locker.sh +++ b/screen-locker.sh @@ -12,15 +12,16 @@ lock () { gajim-remote change_status away & - ssh mistral 'python ~/bin/irssi_socket_control.py 1' + ssh mistral 'python2 ~/bin/irssi_socket_control.py 1' # (sleep 0.5 && swarp 0 0) & - xset dpms force off + xset dpms 5 5 5 slock } unlock () { + xset dpms 0 0 0 gajim-remote change_status online & - ssh mistral 'python ~/bin/irssi_socket_control.py 0' + ssh mistral 'python2 ~/bin/irssi_socket_control.py 0' } if pidof slock &> /dev/null; then exit 1; fi -- cgit v1.2.3-24-g4f1b