diff --git a/xubuntuDaily/bash/clipJoiner.sh b/bashScripts/clipJoiner.sh similarity index 100% rename from xubuntuDaily/bash/clipJoiner.sh rename to bashScripts/clipJoiner.sh diff --git a/bashScripts/pomodoro.sh b/bashScripts/pomodoro.sh new file mode 100755 index 00000000..3873794c --- /dev/null +++ b/bashScripts/pomodoro.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +# 25 minutes = 1500 +# 20 minutes = 1200 +# 5 minutes = 300 + +worktime=1500 +shorttime=300 +longtime=1200 + + + +while true +do + for counter in {1..3} + do + notify-send -i "${PWD}/rsc/pomodoro.png" "Pomodoro Timer" "Work Work Work!" + sleep ${worktime} + notify-send -i "${PWD}/rsc/pomodoro.png" "Pomodoro Timer" "You earned a small break." + sleep ${shorttime} + done + notify-send -i "${PWD}/rsc/pomodoro.png" "Pomodoro Timer" "Okay, time to rest a bit longer." + sleep ${longtime} +done +exit 0 diff --git a/bashScripts/rsc/pomodoro.png b/bashScripts/rsc/pomodoro.png new file mode 100644 index 00000000..cff431b8 Binary files /dev/null and b/bashScripts/rsc/pomodoro.png differ