Last active
December 14, 2015 16:09
-
-
Save pachacamac/5113100 to your computer and use it in GitHub Desktop.
Ask random serious questions at random times to help you connect with reality once in a while.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# install: copy this script to /opt/serious_questions.sh, "chmod +x" it and add the next line to /etc/rc.local | |
# nohup /opt/serious_questions.sh > /dev/null & | |
questions=( | |
'Are you doing something useful right now?' | |
'Surfing Reddit like a mindless sheep?' | |
'Real life ... are you participating?' | |
'Maybe you should call someone?' | |
'How about writing something?' | |
'Want to get some work done?' | |
'Why not go for a walk right now?' | |
'What will you accomplish in the next half hour?' | |
'Is there something you should clean up?' | |
'Could you close your laptop right now?' | |
'Get some good work done and then relax?' | |
'Forgot something?' | |
) | |
while true | |
do | |
sleep $(($RANDOM/10)) | |
notify-send -u critical -i help-faq "${questions[RANDOM%${#questions[@]}]}" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment