whoops, actually add in timer application lol

This commit is contained in:
randomuser 2021-06-06 11:29:48 -05:00
parent ed580c2b4a
commit e46db5d4af
2 changed files with 7 additions and 1 deletions

View File

@ -18,6 +18,12 @@ sh:
cp -f scripts/urlhandle $(DESTDIR)$(PREFIX)/bin cp -f scripts/urlhandle $(DESTDIR)$(PREFIX)/bin
cp -f scripts/indicate $(DESTDIR)$(PREFIX)/bin cp -f scripts/indicate $(DESTDIR)$(PREFIX)/bin
cp -f scripts/vol $(DESTDIR)$(PREFIX)/bin cp -f scripts/vol $(DESTDIR)$(PREFIX)/bin
cp -f scripts/timer $(DESTDIR)$(PREFIX)/bin
ln -sf $(DESTDIR)$(PREFIX)/bin/timer $(DESTDIR)$(PREFIX)/bin/alarm
ln -sf $(DESTDIR)$(PREFIX)/bin/timer $(DESTDIR)$(PREFIX)/bin/tomato
ln -sf $(DESTDIR)$(PREFIX)/bin/timer $(DESTDIR)$(PREFIX)/bin/stopwatch
ln -sf $(DESTDIR)$(PREFIX)/bin/timer $(DESTDIR)$(PREFIX)/bin/verbosewatch
mkc: mkc:
cc progs/scream.c -o progs/scream cc progs/scream.c -o progs/scream
c: c:

View File

@ -15,7 +15,7 @@ seconds\n" && exit 1
printf "your alarm is done\a\n" printf "your alarm is done\a\n"
exit 0 exit 0
;; ;;
*"tomato"*) *"tomato"*)
[ $# -ne 2 ] && \ [ $# -ne 2 ] && \
printf "specify work and rest time\n" && exit 1 printf "specify work and rest time\n" && exit 1
counter=0 counter=0