Skip to content

Instantly share code, notes, and snippets.

@lostsnow
Created April 8, 2013 08:52
Show Gist options
  • Save lostsnow/5335297 to your computer and use it in GitHub Desktop.
Save lostsnow/5335297 to your computer and use it in GitHub Desktop.
#!/bin/sh
while true;
do
if test -n "`file /tmp/Flash*|grep \"Macromedia Flash Video\\|MPEG v4\"`";then
gnome-screensaver-command -p
fi
sleep 30
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment