diff options
Diffstat (limited to 'screen-locker.sh')
-rwxr-xr-x | screen-locker.sh | 7 |
1 files changed, 4 insertions, 3 deletions
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 |