From e46db5d4afb3fdec28ac8a1a02570c4be0aadd87 Mon Sep 17 00:00:00 2001 From: randomuser Date: Sun, 6 Jun 2021 11:29:48 -0500 Subject: [PATCH] whoops, actually add in timer application lol --- Makefile | 6 ++++++ scripts/timer | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 134e615..616a993 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,12 @@ sh: cp -f scripts/urlhandle $(DESTDIR)$(PREFIX)/bin cp -f scripts/indicate $(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: cc progs/scream.c -o progs/scream c: diff --git a/scripts/timer b/scripts/timer index effebfb..8731fbc 100755 --- a/scripts/timer +++ b/scripts/timer @@ -15,7 +15,7 @@ seconds\n" && exit 1 printf "your alarm is done\a\n" exit 0 ;; - *"tomato"*) + *"tomato"*) [ $# -ne 2 ] && \ printf "specify work and rest time\n" && exit 1 counter=0