summaryrefslogtreecommitdiffstats
path: root/screen-locker.sh
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-12-21 20:57:09 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-12-21 20:57:09 +0100
commit6605810da359b36f22ae3ee3f0a4ffa9eb1aa33d (patch)
tree5173b535c2853de329d2a67cd2f47038e3460e0c /screen-locker.sh
parente9815a7602bc4ad1a3b3624b5d695de459132269 (diff)
downloadbin-6605810da359b36f22ae3ee3f0a4ffa9eb1aa33d.tar.gz
bin-6605810da359b36f22ae3ee3f0a4ffa9eb1aa33d.tar.xz
misc changes
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'screen-locker.sh')
-rwxr-xr-xscreen-locker.sh7
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