All pastes #564402 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-06-13 16:09 UTC
rendered paste body
#!/bin/bash
xscreensaver-command -watch |
I=1
while read TEXT; [[ $TEXT != *UNBLANK* ]]; do 
    [[ $TEXT == *RUN* ]] && ((I++))
    if ((I>4)); then
        xfce4-session-logout
        break
    fi
done