From 53237c08f3b364986273cb0067edcd7c57a247f3 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 24 Jun 2009 13:02:36 +0200 Subject: misc fixes --- screen-locker.sh | 3 ++- suspend-resume.sh | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/screen-locker.sh b/screen-locker.sh index f8ccad5..b1afd90 100755 --- a/screen-locker.sh +++ b/screen-locker.sh @@ -13,7 +13,8 @@ lock () { gajim-remote change_status away & ssh mistral 'python ~/bin/irssi_socket_control.py 1' - (sleep 0.5 && swarp 0 0) & +# (sleep 0.5 && swarp 0 0) & + xset dpms force off slock } diff --git a/suspend-resume.sh b/suspend-resume.sh index a702bc6..2bf01bd 100755 --- a/suspend-resume.sh +++ b/suspend-resume.sh @@ -4,7 +4,7 @@ #---------------------------------------------------- export DISPLAY=:0.0 xset r rate 250 50 & -ossxmix -b & -~/bin/irssi_notify.sh < /dev/null & +(sleep 10 && ossxmix -b) & +(sleep 5 && ~/bin/irssi_notify.sh < /dev/null) & xmodmap -e "remove lock = Caps_Lock" xmodmap -e "keysym Caps_Lock = Escape" -- cgit v1.2.3-24-g4f1b