smile, you are on camera!
Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
meh.sh

README.md

meh

I often have the feeling, that I look grumpy or just meh while working on my computer. So in order to check, I wrote meh.sh

meh.sh is a shell script, which takes a photo from the webcam. It does so, by using mplayer. The script should be installed as an hourly cron job like this:

@hourly /path/to/meh.sh

To make it a bit more interesting, the script will not take the photo immediately, but will sleep for a random number of minutes, so that you are not prepared for the photo.

All photos are stored in $(xdg-user-dir PICTURES)/meh. On a system with an English locale, this translates to /home/you/Pictures/meh.

Have fun and smile more, b/c you are on camera :)