diff options
-rwxr-xr-x | screen-locker.sh | 3 | ||||
-rwxr-xr-x | 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" |