URI:
       initial commit - pomodoro - Unnamed repository; edit this file 'description' to name the repository.
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit e21aa766bc464b556ce083d38e424362525cf3e9
  HTML Author: kroovy <me@kroovy.de>
       Date:   Wed, 23 Apr 2025 16:01:23 +0200
       
       initial commit
       
       Diffstat:
         A pomodoro.sh                         |      27 +++++++++++++++++++++++++++
       
       1 file changed, 27 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/pomodoro.sh b/pomodoro.sh
       @@ -0,0 +1,27 @@
       +#!/bin/sh
       +
       +work="█"
       +relax="▒"
       +delim=':'
       +pomfile="/home/kroovy/.pomodoro"
       +sound=1
       +
       +ding() { [ $sound ] && paplay ~/.sounds/ding.mp3; }
       +
       +touch $pomfile
       +for i in $(seq 60); do
       +        echo -n "" > $pomfile
       +        for j in $(seq 60); do
       +                if [ $j -le $i ]; then
       +                        [ $j -le 50 ] && echo -n "$work" >> $pomfile
       +                        [ $j -gt 50 ] && echo -n "$relax" >> $pomfile
       +                else
       +                        echo -n " " >> $pomfile
       +                fi
       +                [ $j -eq 50 ] && echo -n "$delim" >> $pomfile
       +        done
       +        echo "" >> $pomfile
       +        [ $i -eq 50 ] && ding &
       +        sleep 30
       +done
       +ding