Simple reminder script for 20-20-20 rule
``` #!/bin/bash # This program should be set in crontab to execute # every 20 minutes. paplay /usr/share/sounds/freedesktop/stereo/service-login.oga & nid=$(notify-send -p "Reminder" "You have been working for 20 minutes. Look at something 20 feet away for 20 seconds." -i /usr/share/icons/gnome/48x48/status/appointment-soon.png) sleep 1 for i in {1..20}; do notify-send -t 1100 -r "$nid" "Reminder" "You have been working for 20 minutes. Look at something 20 feet away for 20 seconds.\n$((20 - i)) seconds left." -i /usr/share/icons/gnome/48x48/status/appointment-soon.png & sleep 1 done paplay /usr/share/sounds/freedesktop/stereo/service-logout.oga ```Created: 2024-09-26 09:11:41, Updated: 2024-09-26 09:11:41, ID: 27a79388-0e0e-4719-90e7-e54401371b45