Skip to content

Instantly share code, notes, and snippets.

@userhooke
Created December 9, 2019 08:49
Show Gist options
  • Save userhooke/8d23dd714ff8248c982059f521620d94 to your computer and use it in GitHub Desktop.
Save userhooke/8d23dd714ff8248c982059f521620d94 to your computer and use it in GitHub Desktop.
Remind me to stand up every 45mins. Zenity required
#!/usr/bin/env bash
while :
do
for (( i=1; i <= 45; i++ ))
do
clear
echo $((46-i)) "minutes left"
sleep 1m
done
zenity --info --text="You already sitting for 45 minutes. Stand up\!"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment