#! /bin/bash # Authour: mohabaks # Date: Tue 24 Jan 2017 19:58 EAT # Description: A simple script to notify the user time to stop studying after a # given specified period of time and take a short break. # Dependencies: requires dunst for image support # Unset all varibles used in the script if they might have also be set by the # user unset break unset break_time unset image unset hours unset minutes unset start_msg unset stop_msg # Initialize some variables # Uncomment this line if you have dunst installed # Make sure to use a different path of your image # image="$HOME/Pictures/notify/todo/r00t.png" start_msg=' Do Not Disturb ************** " A day without learning is a day wasted. " ' stop_msg=' Break Time =>=>=>=>=> Hello friend .. stand up and take a little break .. ' break_msg="Break time is over ..." # Show help msg function show_help(){ cat <