# $1: timeout
notify() {
if installed dzen2; then
- sed 's/\^/^^/g' | dzen2 -fg blue -bg yellow -y 15 -h 30 -p "$1"
+ sed 's/\^/^^/g' | dzen2 -fg blue -bg yellow -y 15 -h 30 -p "$1" &
elif installed xmessage; then
# Fallback solution, display first line of stdin.
read x
fi
done
if test -z "$locker"; then
- echo 'No screen locker found!' | notify 60 &
+ echo 'No screen locker found!' | notify 60
fi
# Additional options.
locker_pre=