Skip to content

Instantly share code, notes, and snippets.

@pixmin
Created June 24, 2019 13:58
Show Gist options
  • Save pixmin/05d8b820a415d9d53315e2e293d95b42 to your computer and use it in GitHub Desktop.
Save pixmin/05d8b820a415d9d53315e2e293d95b42 to your computer and use it in GitHub Desktop.
BMS - Check if a file exists and show OSD if so
#!/bin/bash
if [ -f /volumes/users/gaetan.priour/Documents/CheckPHPRFC/diff.txt ]; then
echo "PHP RFC has been updated!" | osd_cat -i 1200 -o 3 -d 300 &
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment