User:Yoana Buzova/ prototyping
< User:Yoana Buzova
Revision as of 01:48, 22 May 2013 by Yoana Buzova (talk | contribs)
MY browser / mmths + yoana
#!/bin/bash
while true; do
if pgrep Safari || pgrep firefox || pgrep Chrome &>/dev/null; then
echo alive
sleep 4
pkill Safari
pkill firefox
pkill Chrome
/usr/bin/osascript <<-EOF
tell application "System Events"
activate
display dialog "We are closed!"buttons{"Sorry"}
end tell
EOF
else
echo DEAD!!!
fi
done